set RevalidationInterval to same as default Blazor Web template
This commit is contained in:
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user