SignInAuthenticationHandler<TOptions>.HandleSignInAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重写此方法以处理 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
参数
- user
- ClaimsPrincipal
- properties
- AuthenticationProperties
返回
任务。