Skip to content

Adds Authorization handler #737

Adds Authorization handler

Adds Authorization handler #737

Triggered via pull request November 5, 2024 10:25
Status Success
Total duration 4m 27s
Artifacts

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/http/httpClient/HttpClientRequestAdapter.cs#L490
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/http/httpClient/HttpClientRequestAdapter.cs#L497
Remove the unused private field 'filterAuthHeader'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: src/http/httpClient/ContinuousAccessEvaluation.cs#L25
Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/http/httpClient/ContinuousAccessEvaluation.cs#L34
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
Build: src/http/httpClient/KiotaClientFactory.cs#L82
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/http/httpClient/HttpClientRequestAdapter.cs#L230
Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/http/httpClient/HttpClientRequestAdapter.cs#L395
Remove this unused method parameter 'cancellationToken'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
Build: src/http/httpClient/HttpClientRequestAdapter.cs#L579
Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/http/httpClient/HttpClientRequestAdapter.cs#L490
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/http/httpClient/HttpClientRequestAdapter.cs#L497
Remove the unused private field 'filterAuthHeader'. (https://rules.sonarsource.com/csharp/RSPEC-1144)