Skip to content

Commit

Permalink
Remove Async suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSmoke committed Apr 20, 2023
1 parent b8b85fe commit 7349f88
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public HttpContextTokenStore(IHttpContextAccessor httpContextAccessor, ILoggerFa

// Only access tokens have expire time
if (tokenType == TokenType.AccessToken)
expireTime = GetTokenExpireTimeAsync(properties);
expireTime = GetTokenExpireTime(properties);

return CreateToken(tokenType, tokenValue, expireTime);
}
Expand Down Expand Up @@ -135,7 +135,7 @@ private HttpContext GetHttpContext()
};
}

private static DateTimeOffset? GetTokenExpireTimeAsync(AuthenticationProperties properties)
private static DateTimeOffset? GetTokenExpireTime(AuthenticationProperties properties)
{
var token = properties.GetTokenValue(ExpiresAtKey);

Expand Down

0 comments on commit 7349f88

Please sign in to comment.