Skip to content

Implement Access Token creation logic #1658

Implement Access Token creation logic

Implement Access Token creation logic #1658

Triggered via pull request January 10, 2025 16:35
Status Success
Total duration 3m 11s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Analyze (csharp)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (csharp): test/Altinn.Notifications.Tests/Notifications/Mocks/Authentication/PublicSigningKeyProviderMock.cs#L24
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): test/Altinn.Notifications.Tests/Notifications/Mocks/Authentication/JwtTokenMock.cs#L45
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): test/Altinn.Notifications.Tests/Notifications/Mocks/Authentication/JwtTokenMock.cs#L49
'X509Certificate2.X509Certificate2(string, string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): test/Altinn.Notifications.Tests/Notifications/Mocks/Authentication/ConfigurationManagerStub.cs#L49
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): test/Altinn.Notifications.IntegrationTests/Register/RegisterClientTests.cs#L242
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
Analyze (csharp): test/Altinn.Notifications.Tests/Notifications/Mocks/Authentication/PublicSigningKeyProviderMock.cs#L24
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): test/Altinn.Notifications.Tests/Notifications/Mocks/Authentication/JwtTokenMock.cs#L45
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): test/Altinn.Notifications.Tests/Notifications/Mocks/Authentication/JwtTokenMock.cs#L49
'X509Certificate2.X509Certificate2(string, string?)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): test/Altinn.Notifications.Tests/Notifications/Mocks/Authentication/ConfigurationManagerStub.cs#L49
'X509Certificate2.X509Certificate2(string)' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
Analyze (csharp): test/Altinn.Notifications.IntegrationTests/Register/RegisterClientTests.cs#L242
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.