Share via


IdentityRoleClaim<TKey> Class

Definition

Represents a claim that is granted to all users within a role.

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

Type Parameters

TKey

The type of the primary key of the role associated with this claim.

Inheritance
IdentityRoleClaim<TKey>

Constructors

IdentityRoleClaim<TKey>()

Properties

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 role claim.

RoleId

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

Methods

InitializeFromClaim(Claim)

Initializes by copying ClaimType and ClaimValue from the other claim.

ToClaim()

Constructs a new claim with the type and value.

Applies to