Condividi tramite


SignInAuthenticationHandler<TOptions>.SignInAsync Metodo

Definizione

Gestire l'accesso.

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

Parametri

properties
AuthenticationProperties

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

Restituisce

Un'attività.

Implementazioni

Si applica a