Język

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

Nazwa Opis
RevalidatingServerAuthenticationStateProvider(ILoggerFactory)

Tworzy wystąpienie klasy RevalidatingServerAuthenticationStateProvider.

Właściwości

Nazwa Opis
RevalidationInterval

Pobiera interwał między próbami realizacji.

Metody

Nazwa Opis
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

Nazwa Opis
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

Nazwa Opis
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