UserStore<TUser,TRole,TContext,TKey>.CreateUserClaim Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called to create a new instance of a 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)
Parameters
- user
- TUser
The associated user.
- claim
- Claim
The associated claim.