CookieAuthenticationHandler.HandleSignInAsync 方法

定义

重写此方法以处理 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

参数

返回

任务。

适用于