RevalidatingServerAuthenticationStateProvider Třída

Definice

Základní třída pro AuthenticationStateProvider služby, které přijímají stav ověřování z hostitelského prostředí, a v pravidelných intervalech ji znovu obnovte.

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
Dědičnost
RevalidatingServerAuthenticationStateProvider
Implementuje

Konstruktory

RevalidatingServerAuthenticationStateProvider(ILoggerFactory)

Vytvoří instanci .RevalidatingServerAuthenticationStateProvider

Vlastnosti

RevalidationInterval

Získá interval mezi pokusy o obnovení.

Metody

Dispose(Boolean) System.Object.Dispose(System.Boolean)
GetAuthenticationStateAsync()

Asynchronně získá popis AuthenticationState aktuálního uživatele.

(Zděděno od ServerAuthenticationStateProvider)
NotifyAuthenticationStateChanged(Task<AuthenticationState>)

AuthenticationStateChanged Vyvolá událost.

(Zděděno od AuthenticationStateProvider)
SetAuthenticationState(Task<AuthenticationState>)

Poskytuje aktualizovaná data o stavu ověřování .AuthenticationStateProvider

(Zděděno od ServerAuthenticationStateProvider)
ValidateAuthenticationStateAsync(AuthenticationState, CancellationToken)

Určuje, jestli je stav ověřování stále platný.

událost

AuthenticationStateChanged

Událost, která poskytuje oznámení, když došlo ke AuthenticationState změně. Tato událost může být například vyvolána, pokud se uživatel přihlásí nebo odhlásí.

(Zděděno od AuthenticationStateProvider)

Explicitní implementace rozhraní

IDisposable.Dispose()

Platí pro