Share via


IdentityUserClaim<TKey> Class

Definition

Represents a claim that a user possesses.

generic <typename TKey>
 where TKey : IEquatable<TKey>public ref class IdentityUserClaim
public class IdentityUserClaim<TKey> where TKey : IEquatable<TKey>
type IdentityUserClaim<'Key (requires 'Key :> IEquatable<'Key>)> = class
Public Class IdentityUserClaim(Of TKey)

Type Parameters

TKey

The type used for the primary key for this user that possesses this claim.

Inheritance
IdentityUserClaim<TKey>

Constructors

Name Description
IdentityUserClaim<TKey>()

Properties

Name Description
ClaimType

Gets or sets the claim type for this claim.

ClaimValue

Gets or sets the claim value for this claim.

Id

Gets or sets the identifier for this user claim.

UserId

Gets or sets the primary key of the user associated with this claim.

Methods

Name Description
InitializeFromClaim(Claim)

Reads the type and value from the Claim.

ToClaim()

Converts the entity into a Claim instance.

Applies to