Skip to content

Use Utc.now to avoid test failures in certain timezones #106

Use Utc.now to avoid test failures in certain timezones

Use Utc.now to avoid test failures in certain timezones #106

Triggered via pull request March 18, 2025 11:23
Status Success
Total duration 1m 3s
Artifacts

build.yml

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

Annotations

18 warnings
build (net6.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L162
Possible null reference argument for parameter 'sid' in 'Task<bool> ILogoutTokenHandler.IsLoggedOutAsync(string issuer, string sid)'.
build (net6.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L251
Dereference of a possibly null reference.
build (net6.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L162
Possible null reference argument for parameter 'sid' in 'Task<bool> ILogoutTokenHandler.IsLoggedOutAsync(string issuer, string sid)'.
build (net6.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L251
Dereference of a possibly null reference.
build (net8.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L162
Possible null reference argument for parameter 'sid' in 'Task<bool> ILogoutTokenHandler.IsLoggedOutAsync(string issuer, string sid)'.
build (net8.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L251
Dereference of a possibly null reference.
build (net8.0): src/Auth0.AspNetCore.Authentication/BackchannelLogout/BackchannelLogoutHandler.cs#L107
'OpenIdConnectOptions.SecurityTokenValidator' is obsolete: 'SecurityTokenValidator is no longer used by default. Use TokenHandler instead. To continue using SecurityTokenValidator, set UseSecurityTokenValidator to true. See https://aka.ms/aspnetcore8/security-token-changes'
build (net8.0): src/Auth0.AspNetCore.Authentication/Exceptions/ApiException.cs#L68
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build (net8.0): src/Auth0.AspNetCore.Authentication/BackchannelLogout/BackchannelLogoutHandler.cs#L29
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build (net8.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L162
Possible null reference argument for parameter 'sid' in 'Task<bool> ILogoutTokenHandler.IsLoggedOutAsync(string issuer, string sid)'.
build (net8.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L251
Dereference of a possibly null reference.
build (net8.0): src/Auth0.AspNetCore.Authentication/BackchannelLogout/BackchannelLogoutHandler.cs#L107
'OpenIdConnectOptions.SecurityTokenValidator' is obsolete: 'SecurityTokenValidator is no longer used by default. Use TokenHandler instead. To continue using SecurityTokenValidator, set UseSecurityTokenValidator to true. See https://aka.ms/aspnetcore8/security-token-changes'
build (net8.0): src/Auth0.AspNetCore.Authentication/Exceptions/ApiException.cs#L68
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
build (net8.0): src/Auth0.AspNetCore.Authentication/BackchannelLogout/BackchannelLogoutHandler.cs#L29
Use IHeaderDictionary.Append or the indexer to append or set headers. IDictionary.Add will throw an ArgumentException when attempting to add a duplicate key. (https://aka.ms/aspnet/analyzers)
build (net7.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L162
Possible null reference argument for parameter 'sid' in 'Task<bool> ILogoutTokenHandler.IsLoggedOutAsync(string issuer, string sid)'.
build (net7.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L251
Dereference of a possibly null reference.
build (net7.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L162
Possible null reference argument for parameter 'sid' in 'Task<bool> ILogoutTokenHandler.IsLoggedOutAsync(string issuer, string sid)'.
build (net7.0): src/Auth0.AspNetCore.Authentication/AuthenticationBuilderExtensions.cs#L251
Dereference of a possibly null reference.