CookieAuthenticationHandler.HandleSignInAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Remplacez cette méthode pour gérer SignIn.
protected:
override System::Threading::Tasks::Task ^ HandleSignInAsync(System::Security::Claims::ClaimsPrincipal ^ user, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected override System.Threading.Tasks.Task HandleSignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
protected override System.Threading.Tasks.Task HandleSignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
override this.HandleSignInAsync : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Protected Overrides Function HandleSignInAsync (user As ClaimsPrincipal, properties As AuthenticationProperties) As Task
Paramètres
- user
- ClaimsPrincipal
- properties
- AuthenticationProperties
Retours
Tâche.