Initial IAuthenticationContext
abstraction
#2638
test-and-analyze.yml
on: pull_request
Static code analysis
8m 35s
Annotations
10 warnings
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Authentication/AuthenticationClient.cs#L47
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Internal/Auth/IClientContext.cs#L33
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Authentication/AuthenticationClient.cs#L57
Don't use string interpolation in logging message templates. (https://rules.sonarsource.com/csharp/RSPEC-2629)
|
Static code analysis:
src/Altinn.App.Core/Internal/Auth/IClientContext.cs#L35
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Static code analysis:
src/Altinn.App.Api/Controllers/AccountController.cs#L31
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Static code analysis:
src/Altinn.App.Api/Controllers/ActionsController.cs#L77
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Static code analysis:
src/Altinn.App.Api/Controllers/TextsController.cs#L33
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Static code analysis:
src/Altinn.App.Api/Controllers/AuthorizationController.cs#L45
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Static code analysis:
src/Altinn.App.Api/Controllers/AuthorizationController.cs#L108
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|
Static code analysis:
src/Altinn.App.Api/Controllers/DataTagsController.cs#L50
ModelState.IsValid should be checked in controller actions. (https://rules.sonarsource.com/csharp/RSPEC-6967)
|