Skip to content

Commit

Permalink
Embed README
Browse files Browse the repository at this point in the history
  • Loading branch information
Hawxy committed Jun 20, 2023
1 parent 8a9bcd7 commit f4bc147
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<RepositoryUrl>https://github.com/Hawxy/Auth0Net.DependencyInjection</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>auth0,auth0.net,microsoft.extensions.dependencyinjection,httpclientfactory,asp.net</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -47,4 +48,8 @@
<None Include="Images\icon.png" Pack="true" PackagePath="" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\"/>
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions src/Auth0Net.DependencyInjection/Cache/Auth0TokenCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ public async ValueTask<string> 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);
}

0 comments on commit f4bc147

Please sign in to comment.