TokenClaimValidationRule 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.
External Auth claim validation rule
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.TokenClaimValidationRuleTypeConverter))]
public class TokenClaimValidationRule : Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ITokenClaimValidationRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.TokenClaimValidationRuleTypeConverter))>]
type TokenClaimValidationRule = class
interface ITokenClaimValidationRule
interface IJsonSerializable
Public Class TokenClaimValidationRule
Implements ITokenClaimValidationRule
- Inheritance
-
TokenClaimValidationRule
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| TokenClaimValidationRule() |
Creates an new TokenClaimValidationRule instance. |
Properties
| Name | Description |
|---|---|
| RequiredClaimClaim |
Claim name for the validation profile claim is a required field that configures the name of the required claim. |
| RequiredClaimRequiredValue |
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. |
| Type |
This configures the type of the validation rule. It defaults to "RequiredClaim" |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of TokenClaimValidationRule. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of TokenClaimValidationRule. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.ITokenClaimValidationRule. |
| FromJsonString(String) |
Creates a new instance of TokenClaimValidationRule, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of TokenClaimValidationRule into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |