Share via


UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.CreateUserClaim 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
Protected Overridable Function CreateUserClaim (user As TUser, claim As Claim) As TUserClaim

Parameters

user
TUser

The associated user.

claim
Claim

The associated claim.

Returns

TUserClaim

Applies to