Share via


IRemoteAuthenticationService<TRemoteAuthenticationState> Interface

Définition

Représente un contrat pour les services qui effectuent des opérations d’authentification pour une application 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)

Paramètres de type

TRemoteAuthenticationState

État à conserver entre les opérations d’authentification.

Dérivé

Méthodes

CompleteSignInAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Termine l’opération de connexion d’un utilisateur lorsqu’elle est effectuée en dehors de l’origine de l’application via une opération de redirection suivie d’un rappel de redirection vers une page de l’application.

CompleteSignOutAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Termine l’opération de déconnexion pour un utilisateur lorsqu’elle est effectuée en dehors de l’origine de l’application via une opération de redirection suivie d’un rappel de redirection vers une page de l’application.

SignInAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Connecte un utilisateur.

SignOutAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Déconnecte un utilisateur.

S’applique à