Freigeben über


SignInAuthenticationHandler<TOptions>.SignInAsync Methode

Definition

Behandeln Sie die Anmeldung.

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

Parameter

user
ClaimsPrincipal

Der ClaimsPrincipal Benutzer.

properties
AuthenticationProperties

Die AuthenticationProperties , die die zusätzlichen Metadaten enthält, die bei der Authentifizierung eintreffen.

Gibt zurück

Eine Aufgabe.

Implementiert

Gilt für: