Partager via


UserStoreBase<TUser,TKey,TUserClaim,TUserLogin,TUserToken>.CreateUserClaim Méthode

Définition

Appelé pour créer une nouvelle instance d’un 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

Paramètres

user
TUser

Utilisateur associé.

claim
Claim

Revendication associée.

Retours

TUserClaim

S’applique à