SignInAuthenticationHandler<TOptions>.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:
abstract System::Threading::Tasks::Task ^ HandleSignInAsync(System::Security::Claims::ClaimsPrincipal ^ user, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
protected abstract System.Threading.Tasks.Task HandleSignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
protected abstract System.Threading.Tasks.Task HandleSignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
abstract member HandleSignInAsync : System.Security.Claims.ClaimsPrincipal * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> System.Threading.Tasks.Task
Protected MustOverride Function HandleSignInAsync (user As ClaimsPrincipal, properties As AuthenticationProperties) As Task
Paramètres
- user
- ClaimsPrincipal
- properties
- AuthenticationProperties
Retours
Tâche.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour