Adds Authorization handler #738
Annotations
10 errors and 10 warnings
Build and analyze:
src/http/httpClient/ContinuousAccessEvaluation.cs#L27
'ArgumentNullException' does not contain a definition for 'ThrowIfNull'
|
Build and analyze:
src/http/httpClient/Middleware/AuthorizationHandler.cs#L48
'ArgumentNullException' does not contain a definition for 'ThrowIfNull'
|
Build and analyze:
src/http/httpClient/Middleware/AuthorizationHandler.cs#L65
Argument 3: cannot convert from 'System.Threading.CancellationToken' to 'System.Diagnostics.Activity?'
|
Build and analyze:
src/http/httpClient/Middleware/AuthorizationHandler.cs#L65
Argument 4: cannot convert from 'System.Diagnostics.Activity' to 'System.Threading.CancellationToken'
|
Build and analyze:
src/http/httpClient/Middleware/AuthorizationHandler.cs#L76
Argument 3: cannot convert from 'System.Threading.CancellationToken' to 'System.Diagnostics.Activity?'
|
Build and analyze:
src/http/httpClient/Middleware/AuthorizationHandler.cs#L76
Argument 4: cannot convert from 'System.Diagnostics.Activity' to 'System.Threading.CancellationToken'
|
Build and analyze:
src/http/httpClient/Middleware/AuthorizationHandler.cs#L65
Argument 3: cannot convert from 'System.Threading.CancellationToken' to 'System.Diagnostics.Activity?'
|
Build and analyze:
src/http/httpClient/Middleware/AuthorizationHandler.cs#L65
Argument 4: cannot convert from 'System.Diagnostics.Activity' to 'System.Threading.CancellationToken'
|
Build and analyze:
src/http/httpClient/Middleware/AuthorizationHandler.cs#L76
Argument 3: cannot convert from 'System.Threading.CancellationToken' to 'System.Diagnostics.Activity?'
|
Build and analyze:
src/http/httpClient/Middleware/AuthorizationHandler.cs#L76
Argument 4: cannot convert from 'System.Diagnostics.Activity' to 'System.Threading.CancellationToken'
|
Build and analyze:
src/http/httpClient/HttpClientRequestAdapter.cs#L490
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build and analyze:
src/http/httpClient/HttpClientRequestAdapter.cs#L496
Remove the unused private field 'BearerAuthenticationScheme'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
|
Build and analyze:
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 and analyze:
src/http/httpClient/ContinuousAccessEvaluation.cs#L25
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/http/httpClient/ContinuousAccessEvaluation.cs#L34
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
|
Build and analyze:
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 and analyze:
src/http/httpClient/HttpClientRequestAdapter.cs#L395
Remove this unused method parameter 'cancellationToken'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
|
Build and analyze:
src/http/httpClient/HttpClientRequestAdapter.cs#L578
Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
Build and analyze:
src/http/httpClient/HttpClientRequestAdapter.cs#L490
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
Build and analyze:
src/http/httpClient/HttpClientRequestAdapter.cs#L496
Remove the unused private field 'BearerAuthenticationScheme'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
|
Loading