sec: set the absolute time of the token
This commit is contained in:
parent
c3c9844e2f
commit
e79ddf220f
@ -171,7 +171,7 @@ public class OAuthService(ILogger<OAuthService> logger, Dictionary<OAuthProvider
|
||||
cache.SetAsync(
|
||||
key,
|
||||
JsonSerializer.SerializeToUtf8Bytes(data),
|
||||
slidingExpiration: TimeSpan.FromMinutes(15),
|
||||
absoluteExpirationRelativeToNow: TimeSpan.FromMinutes(15),
|
||||
cancellationToken: cancellation);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user