TwoFactorSecurityStampValidator<TUser>.SecurityStampVerified 方法

定义

验证安全标记时调用。

protected:
 override System::Threading::Tasks::Task ^ SecurityStampVerified(TUser user, Microsoft::AspNetCore::Authentication::Cookies::CookieValidatePrincipalContext ^ context);
protected override System.Threading.Tasks.Task SecurityStampVerified (TUser user, Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext context);
override this.SecurityStampVerified : 'User * Microsoft.AspNetCore.Authentication.Cookies.CookieValidatePrincipalContext -> System.Threading.Tasks.Task
Protected Overrides Function SecurityStampVerified (user As TUser, context As CookieValidatePrincipalContext) As Task

参数

user
TUser

已验证的用户。

返回

任务。

适用于