Use IUserTokenProvider instead of IHttpContextAccessor in InstanceClient #2618
test-and-analyze.yml
on: pull_request
Static code analysis
7m 28s
Annotations
10 warnings
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L71
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L154
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L177
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L203
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L224
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L253
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L281
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L305
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L325
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Static code analysis:
src/Altinn.App.Core/Infrastructure/Clients/Storage/InstanceClient.cs#L52
Define a constant instead of using this literal 'application/json' 6 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|