Skip to content

Use IUserTokenProvider instead of IHttpContextAccessor in InstanceClient #2618

Use IUserTokenProvider instead of IHttpContextAccessor in InstanceClient

Use IUserTokenProvider instead of IHttpContextAccessor in InstanceClient #2618

Triggered via pull request October 28, 2024 13:17
Status Success
Total duration 7m 48s
Artifacts

test-and-analyze.yml

on: pull_request
Static code analysis
7m 28s
Static code analysis
Fit to window
Zoom out
Zoom in

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)