RevalidatingServerAuthenticationStateProvider Klasa

Definicja

Klasa podstawowa usług AuthenticationStateProvider , które odbierają stan uwierzytelniania ze środowiska hosta i są ponownie odtwarzane w regularnych odstępach czasu.

public ref class RevalidatingServerAuthenticationStateProvider abstract : Microsoft::AspNetCore::Components::Server::ServerAuthenticationStateProvider, IDisposable
public abstract class RevalidatingServerAuthenticationStateProvider : Microsoft.AspNetCore.Components.Server.ServerAuthenticationStateProvider, IDisposable
type RevalidatingServerAuthenticationStateProvider = class
    inherit ServerAuthenticationStateProvider
    interface IDisposable
Public MustInherit Class RevalidatingServerAuthenticationStateProvider
Inherits ServerAuthenticationStateProvider
Implements IDisposable
Dziedziczenie
RevalidatingServerAuthenticationStateProvider
Implementuje

Konstruktory

RevalidatingServerAuthenticationStateProvider(ILoggerFactory)

Tworzy wystąpienie klasy RevalidatingServerAuthenticationStateProvider.

Właściwości

RevalidationInterval

Pobiera interwał między próbami realizacji.

Metody

Dispose(Boolean)

Klasa podstawowa usług AuthenticationStateProvider , które odbierają stan uwierzytelniania ze środowiska hosta i są ponownie odtwarzane w regularnych odstępach czasu.

GetAuthenticationStateAsync()

Asynchronicznie pobiera element AuthenticationState opisujący bieżącego użytkownika.

(Odziedziczone po ServerAuthenticationStateProvider)
NotifyAuthenticationStateChanged(Task<AuthenticationState>)

AuthenticationStateChanged Zgłasza zdarzenie.

(Odziedziczone po AuthenticationStateProvider)
SetAuthenticationState(Task<AuthenticationState>)

Dostarcza zaktualizowane dane stanu uwierzytelniania do elementu AuthenticationStateProvider.

(Odziedziczone po ServerAuthenticationStateProvider)
ValidateAuthenticationStateAsync(AuthenticationState, CancellationToken)

Określa, czy stan uwierzytelniania jest nadal prawidłowy.

Zdarzenia

AuthenticationStateChanged

Zdarzenie, które dostarcza powiadomienie po AuthenticationState zmianie. Na przykład to zdarzenie może zostać zgłoszone, jeśli użytkownik zaloguje się lub wyloguje.

(Odziedziczone po AuthenticationStateProvider)

Jawne implementacje interfejsu

IDisposable.Dispose()

Klasa podstawowa usług AuthenticationStateProvider , które odbierają stan uwierzytelniania ze środowiska hosta i są ponownie odtwarzane w regularnych odstępach czasu.

Dotyczy