Skip to content

Updated OBO Token service to support token caching #4

Updated OBO Token service to support token caching

Updated OBO Token service to support token caching #4

Triggered via push November 21, 2024 11:10
Status Success
Total duration 2m 13s
Artifacts
build-and-test  /  build-and-test
2m 2s
build-and-test / build-and-test
Fit to window
Zoom out
Zoom in

Annotations

6 warnings
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/ApiOboTokenService.cs#L43
Change this condition so that it does not always evaluate to 'False'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/Events/RejectSessionCookieWhenAccountNotInCacheEvents.cs#L54
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L25
Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/ApiOboTokenService.cs#L43
Change this condition so that it does not always evaluate to 'False'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/Events/RejectSessionCookieWhenAccountNotInCacheEvents.cs#L54
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
build-and-test / build-and-test: src/DfE.CoreLibs.Security/Authorization/AuthorizationExtensions.cs#L25
Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)