Share via


IRemoteAuthenticationService<TRemoteAuthenticationState> Interface

Definition

Represents a contract for services that perform authentication operations for a Blazor WebAssembly application.

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)

Type Parameters

TRemoteAuthenticationState

The state to be persisted across authentication operations.

Derived

Methods

CompleteSignInAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Completes the sign in operation for a user when it is performed outside of the application origin via a redirect operation followed by a redirect callback to a page in the application.

CompleteSignOutAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Completes the sign out operation for a user when it is performed outside of the application origin via a redirect operation followed by a redirect callback to a page in the application.

SignInAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Signs in a user.

SignOutAsync(RemoteAuthenticationContext<TRemoteAuthenticationState>)

Signs out a user.

Applies to