UserStore<TUser,TRole,TContext,TKey,TUserClaim,TUserRole,TUserLogin,TUserToken>.CreateUserClaim 方法

定义

创建表示用户声明的新实体。

protected:
 abstract TUserClaim CreateUserClaim(TUser user, System::Security::Claims::Claim ^ claim);
protected abstract TUserClaim CreateUserClaim (TUser user, System.Security.Claims.Claim claim);
abstract member CreateUserClaim : 'User * System.Security.Claims.Claim -> 'UserClaim
Protected MustOverride Function CreateUserClaim (user As TUser, claim As Claim) As TUserClaim

参数

user
TUser
claim
Claim

返回

TUserClaim

适用于