Compartir a través de


SignInAuthenticationHandler<TOptions>.SignInAsync Método

Definición

Controle el inicio de sesión.

public:
 virtual System::Threading::Tasks::Task ^ SignInAsync(System::Security::Claims::ClaimsPrincipal ^ user, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public virtual System.Threading.Tasks.Task SignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public virtual 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
override this.SignInAsync : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Public Overridable Function SignInAsync (user As ClaimsPrincipal, properties As AuthenticationProperties) As Task

Parámetros

user
ClaimsPrincipal

El ClaimsPrincipal usuario.

properties
AuthenticationProperties

AuthenticationProperties que contiene los metadatos adicionales que llegan con la autenticación.

Devoluciones

Una tarea.

Implementaciones

Se aplica a