Condividi tramite


IAuthenticationSignInHandler.SignInAsync Metodo

Definizione

Gestire l'accesso.

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

Parametri

properties
AuthenticationProperties

Oggetto AuthenticationProperties contenente i metadati aggiuntivi in arrivo con l'autenticazione.

Restituisce

Un'attività.

Si applica a