RemoteAuthenticationService<TRemoteAuthenticationState,TAccount,TProviderOptions>.SignInAsync Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Entra em um usuário.
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
O RemoteAuthenticationContext<TRemoteAuthenticationState> para autenticar o usuário.
Retornos
Task<RemoteAuthenticationResult<TRemoteAuthenticationState>>
O resultado da operação de autenticação.