diff --git a/src/Auth0Net.DependencyInjection/Auth0Net.DependencyInjection.csproj b/src/Auth0Net.DependencyInjection/Auth0Net.DependencyInjection.csproj index dba95c8..afeee24 100644 --- a/src/Auth0Net.DependencyInjection/Auth0Net.DependencyInjection.csproj +++ b/src/Auth0Net.DependencyInjection/Auth0Net.DependencyInjection.csproj @@ -16,6 +16,7 @@ https://github.com/Hawxy/Auth0Net.DependencyInjection git auth0,auth0.net,microsoft.extensions.dependencyinjection,httpclientfactory,asp.net + README.md @@ -47,4 +48,8 @@ + + + + diff --git a/src/Auth0Net.DependencyInjection/Cache/Auth0TokenCache.cs b/src/Auth0Net.DependencyInjection/Cache/Auth0TokenCache.cs index 717d28b..c65e715 100644 --- a/src/Auth0Net.DependencyInjection/Cache/Auth0TokenCache.cs +++ b/src/Auth0Net.DependencyInjection/Cache/Auth0TokenCache.cs @@ -71,12 +71,12 @@ public async ValueTask GetTokenAsync(string audience, CancellationToken internal static partial class Log { - [LoggerMessage(Message = "Auth0 Token was requested for audience: {audience}", Level = LogLevel.Debug)] + [LoggerMessage(EventId = 2001, Message = "Auth0 Token was requested for audience: {audience}", Level = LogLevel.Debug)] public static partial void TokenRequested(this ILogger logger, string audience); - [LoggerMessage(Message = "Auth0 Token cache is refreshing, fetching new token for audience: {audience}", Level = LogLevel.Debug)] + [LoggerMessage(EventId = 2002, Message = "Auth0 Token cache is refreshing, fetching new token for audience: {audience}", Level = LogLevel.Debug)] public static partial void CacheFetch(this ILogger logger, string audience); - [LoggerMessage(Message = "Auth0 Token for audience {audience} will expire in {expiry} seconds", Level = LogLevel.Debug)] + [LoggerMessage(EventId = 2003, Message = "Auth0 Token for audience {audience} will expire in {expiry} seconds", Level = LogLevel.Debug)] public static partial void ExpiresAt(this ILogger logger, string audience, double expiry); } \ No newline at end of file