IAuthenticationSignInHandler.SignInAsync Método

Definição

Manipule a entrada.

public:
 System::Threading::Tasks::Task ^ SignInAsync(System::Security::Claims::ClaimsPrincipal ^ user, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public System.Threading.Tasks.Task SignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public System.Threading.Tasks.Task SignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
abstract member SignInAsync : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Function SignInAsync (user As ClaimsPrincipal, properties As AuthenticationProperties) As Task

Parâmetros

user
ClaimsPrincipal

O ClaimsPrincipal usuário.

properties
AuthenticationProperties

O AuthenticationProperties que contém os metadados extras que chegam com a autenticação.

Retornos

Uma tarefa.

Aplica-se a