Udostępnij za pośrednictwem


IAuthenticationSignInHandler.SignInAsync Metoda

Definicja

Obsługa logowania.

public:
 System::Threading::Tasks::Task ^ SignInAsync(System::Security::Claims::ClaimsPrincipal ^ user, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public System.Threading.Tasks.Task SignInAsync (System.Security.Claims.ClaimsPrincipal user, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public 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
Public Function SignInAsync (user As ClaimsPrincipal, properties As AuthenticationProperties) As Task

Parametry

user
ClaimsPrincipal

Użytkownik ClaimsPrincipal .

properties
AuthenticationProperties

Element AuthenticationProperties zawierający dodatkowe metadane przybywające z uwierzytelnianiem.

Zwraca

Zadanie.

Dotyczy