Condividi tramite


UserStore<TUser,TRole,TContext,TKey>.CreateUserClaim Metodo

Definizione

Chiamato per creare una nuova istanza di un oggetto IdentityUserClaim<TKey>.

protected:
 override Microsoft::AspNetCore::Identity::EntityFrameworkCore::IdentityUserClaim<TKey> ^ CreateUserClaim(TUser user, System::Security::Claims::Claim ^ claim);
protected override Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<TKey> CreateUserClaim (TUser user, System.Security.Claims.Claim claim);
override this.CreateUserClaim : 'User * System.Security.Claims.Claim -> Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserClaim<'Key (requires 'Key :> IEquatable<'Key>)>
Protected Overrides Function CreateUserClaim (user As TUser, claim As Claim) As IdentityUserClaim(Of TKey)

Parametri

user
TUser

Utente associato.

claim
Claim

Attestazione associata.

Restituisce

Si applica a