TokenRequiredClaim Class
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.
Token required claim validation rule.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.TokenRequiredClaimTypeConverter))]
public class TokenRequiredClaim : Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ITokenRequiredClaim
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.TokenRequiredClaimTypeConverter))>]
type TokenRequiredClaim = class
interface ITokenRequiredClaim
interface IJsonSerializable
Public Class TokenRequiredClaim
Implements ITokenRequiredClaim
- Inheritance
-
TokenRequiredClaim
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| TokenRequiredClaim() |
Creates an new TokenRequiredClaim instance. |
Properties
| Name | Description |
|---|---|
| Claim |
Claim name for the validation profile claim is a required field that configures the name of the required claim. |
| RequiredValue |
Required value requiredValue is a required field that configures the value that 'claim' must have when taken from the incoming JWT claims. If the value in the JWT claims does not match, the token will be rejected for authentication. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of TokenRequiredClaim. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of TokenRequiredClaim. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ITokenRequiredClaim. |
| FromJsonString(String) |
Creates a new instance of TokenRequiredClaim, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of TokenRequiredClaim into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |