UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.CreateUserClaim(TUser, Claim) UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.CreateUserClaim(TUser, Claim) UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.CreateUserClaim(TUser, Claim) Method

Definition

Called to create a new instance of a IdentityUserClaim<TKey>.

protected:
 virtual TUserClaim CreateUserClaim(TUser user, System::Security::Claims::Claim ^ claim);
protected virtual TUserClaim CreateUserClaim (TUser user, System.Security.Claims.Claim claim);
abstract member CreateUserClaim : 'User * System.Security.Claims.Claim -> 'UserClaim
override this.CreateUserClaim : 'User * System.Security.Claims.Claim -> 'UserClaim

Parameters

user
TUser TUser TUser

The associated user.

claim
Claim Claim Claim

The associated claim.

Returns

TUserClaim TUserClaim TUserClaim

Applies to