Added more test to the Security package #5
Annotations
6 warnings
Build, Test and Analyze:
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, Test and Analyze:
src/DfE.CoreLibs.Security/Authorization/Events/RejectSessionCookieWhenAccountNotInCacheEvents.cs#L56
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
|
Build, Test and Analyze:
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, Test and Analyze:
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, Test and Analyze:
src/DfE.CoreLibs.Security/Authorization/Events/RejectSessionCookieWhenAccountNotInCacheEvents.cs#L56
Either log this exception and handle it, or rethrow it with some contextual information. (https://rules.sonarsource.com/csharp/RSPEC-2139)
|
Build, Test and Analyze:
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)
|
Loading