Aracılığıyla paylaş


RevalidatingServerAuthenticationStateProvider.ValidateAuthenticationStateAsync Yöntem

Tanım

Kimlik doğrulama durumunun hala geçerli olup olmadığını belirler.

protected:
 abstract System::Threading::Tasks::Task<bool> ^ ValidateAuthenticationStateAsync(Microsoft::AspNetCore::Components::Authorization::AuthenticationState ^ authenticationState, System::Threading::CancellationToken cancellationToken);
protected abstract System.Threading.Tasks.Task<bool> ValidateAuthenticationStateAsync (Microsoft.AspNetCore.Components.Authorization.AuthenticationState authenticationState, System.Threading.CancellationToken cancellationToken);
abstract member ValidateAuthenticationStateAsync : Microsoft.AspNetCore.Components.Authorization.AuthenticationState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Protected MustOverride Function ValidateAuthenticationStateAsync (authenticationState As AuthenticationState, cancellationToken As CancellationToken) As Task(Of Boolean)

Parametreler

authenticationState
AuthenticationState

Geçerli AuthenticationState.

cancellationToken
CancellationToken

CancellationToken İşlemi gerçekleştirirken gözlemlenmesi gereken A.

Döndürülenler

Task hala geçerliyse authenticationState true veya geçerli değilse false olarak çözülen bir.

Şunlara uygulanır