RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>.SignInAsync Método

Definición

Inicia sesión en un usuario.

public:
 virtual System::Threading::Tasks::Task<Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationResult<TRemoteAuthenticationState> ^> ^ SignInAsync(Microsoft::AspNetCore::Components::WebAssembly::Authentication::RemoteAuthenticationContext<TRemoteAuthenticationState> ^ context);
public virtual System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationResult<TRemoteAuthenticationState>> SignInAsync (Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationContext<TRemoteAuthenticationState> context);
abstract member SignInAsync : Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationContext<'RemoteAuthenticationState (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState)> -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationResult<'RemoteAuthenticationState>>
override this.SignInAsync : Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationContext<'RemoteAuthenticationState (requires 'RemoteAuthenticationState :> Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationState)> -> System.Threading.Tasks.Task<Microsoft.AspNetCore.Components.WebAssembly.Authentication.RemoteAuthenticationResult<'RemoteAuthenticationState>>
Public Overridable Function SignInAsync (context As RemoteAuthenticationContext(Of TRemoteAuthenticationState)) As Task(Of RemoteAuthenticationResult(Of TRemoteAuthenticationState))

Parámetros

Devoluciones

Task<RemoteAuthenticationResult<TRemoteAuthenticationState>>

Resultado de la operación de autenticación.

Implementaciones

Se aplica a