Share via


ClaimData Constructors

Definition

Overloads

ClaimData(Claim)

Constructs a new instance of ClaimData from a Claim copying only the Type and Value into their corresponding properties.

ClaimData(String, String)

Constructs a new instance of ClaimData from a type and value.

ClaimData(Claim)

Source:
ClaimData.cs

Constructs a new instance of ClaimData from a Claim copying only the Type and Value into their corresponding properties.

public ClaimData (System.Security.Claims.Claim claim);
new Microsoft.AspNetCore.Components.Authorization.ClaimData : System.Security.Claims.Claim -> Microsoft.AspNetCore.Components.Authorization.ClaimData
Public Sub New (claim As Claim)

Parameters

claim
Claim

The Claim to copy from.

Applies to

ClaimData(String, String)

Source:
ClaimData.cs

Constructs a new instance of ClaimData from a type and value.

[System.Text.Json.Serialization.JsonConstructor]
public ClaimData (string type, string value);
[<System.Text.Json.Serialization.JsonConstructor>]
new Microsoft.AspNetCore.Components.Authorization.ClaimData : string * string -> Microsoft.AspNetCore.Components.Authorization.ClaimData
Public Sub New (type As String, value As String)

Parameters

type
String

The claim type.

value
String

The claim value

Attributes

Applies to