Sdílet prostřednictvím


IRemoteAuthenticationService<TRemoteAuthenticationState> Rozhraní

Definice

Představuje kontrakt pro služby, které provádějí ověřovací operace pro aplikaci Blazor WebAssembly.

generic <typename TRemoteAuthenticationState>
 where TRemoteAuthenticationState : RemoteAuthenticationStatepublic interface class IRemoteAuthenticationService
public interface IRemoteAuthenticationService<TRemoteAuthenticationState> where TRemoteAuthenticationState : RemoteAuthenticationState
type IRemoteAuthenticationService<'RemoteAuthenticationState (requires 'RemoteAuthenticationState :> RemoteAuthenticationState)> = interface
Public Interface IRemoteAuthenticationService(Of TRemoteAuthenticationState)

Parametry typu

TRemoteAuthenticationState

Stav, který se má zachovat v rámci operací ověřování.

Odvozené

Metody

CompleteSignInAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Dokončí operaci přihlášení pro uživatele, když se provede mimo původ aplikace prostřednictvím operace přesměrování následované zpětným voláním přesměrování na stránku v aplikaci.

CompleteSignOutAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Dokončí operaci odhlášení pro uživatele, když se provede mimo původ aplikace prostřednictvím operace přesměrování následované zpětným voláním přesměrování na stránku v aplikaci.

SignInAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Přihlásí uživatele.

SignOutAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Odhlásí uživatele.

Platí pro