Partager via


SignInAuthenticationHandler<TOptions>.SignInAsync Méthode

Définition

Gérer la connexion.

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

Paramètres

user
ClaimsPrincipal

Utilisateur ClaimsPrincipal .

properties
AuthenticationProperties

AuthenticationProperties qui contient les métadonnées supplémentaires arrivant avec l’authentification.

Retours

Une tâche.

Implémente

S’applique à