Merge pull request #3923 from sbwalker/dev

set RevalidationInterval to same as default Blazor Web template
This commit is contained in:
Shaun Walker 2024-02-29 14:48:27 -05:00 committed by GitHub
commit 606cb249e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ namespace Oqtane.Providers
IOptions<IdentityOptions> options)
: RevalidatingServerAuthenticationStateProvider(loggerFactory)
{
protected override TimeSpan RevalidationInterval => TimeSpan.FromSeconds(20);
protected override TimeSpan RevalidationInterval => TimeSpan.FromMinutes(30);
protected override async Task<bool> ValidateAuthenticationStateAsync(AuthenticationState authenticationState, CancellationToken cancellationToken)
{