Merge pull request #3923 from sbwalker/dev
set RevalidationInterval to same as default Blazor Web template
This commit is contained in:
commit
606cb249e8
@ -19,7 +19,7 @@ namespace Oqtane.Providers
|
|||||||
IOptions<IdentityOptions> options)
|
IOptions<IdentityOptions> options)
|
||||||
: RevalidatingServerAuthenticationStateProvider(loggerFactory)
|
: 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)
|
protected override async Task<bool> ValidateAuthenticationStateAsync(AuthenticationState authenticationState, CancellationToken cancellationToken)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user