ClaimData Constructors
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.
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
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
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