ServerAuthenticationStateProvider Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Určený AuthenticationStateProvider pro použití na straně serveru Blazor.
public ref class ServerAuthenticationStateProvider : Microsoft::AspNetCore::Components::Authorization::AuthenticationStateProvider, Microsoft::AspNetCore::Components::Authorization::IHostEnvironmentAuthenticationStateProvider
public class ServerAuthenticationStateProvider : Microsoft.AspNetCore.Components.Authorization.AuthenticationStateProvider, Microsoft.AspNetCore.Components.Authorization.IHostEnvironmentAuthenticationStateProvider
type ServerAuthenticationStateProvider = class
inherit AuthenticationStateProvider
interface IHostEnvironmentAuthenticationStateProvider
Public Class ServerAuthenticationStateProvider
Inherits AuthenticationStateProvider
Implements IHostEnvironmentAuthenticationStateProvider
- Dědičnost
- Odvozené
- Implementuje
Konstruktory
| ServerAuthenticationStateProvider() |
Metody
| GetAuthenticationStateAsync() |
Asynchronně získá popis AuthenticationState aktuálního uživatele. |
| NotifyAuthenticationStateChanged(Task<AuthenticationState>) |
AuthenticationStateChanged Vyvolá událost. (Zděděno od AuthenticationStateProvider) |
| SetAuthenticationState(Task<AuthenticationState>) |
Poskytuje aktualizovaná data o stavu ověřování .AuthenticationStateProvider |
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) |