Sdílet prostřednictvím


IAuthenticationSignInHandler.SignInAsync Metoda

Definice

Zpracujte přihlášení.

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živatel ClaimsPrincipal .

properties
AuthenticationProperties

Objekt AuthenticationProperties , který obsahuje další metadata přicházející s ověřováním.

Návraty

Úkol.

Platí pro