ArmContainerServiceModelFactory.ManagedClusterJwtAuthenticatorClaimMappings Method
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.
public static Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorClaimMappings ManagedClusterJwtAuthenticatorClaimMappings(string usernameExpression = default, string groupsExpression = default, string uidExpression = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorExtraClaimMappingExpression> extra = default);
static member ManagedClusterJwtAuthenticatorClaimMappings : string * string * string * seq<Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorExtraClaimMappingExpression> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorClaimMappings
Public Shared Function ManagedClusterJwtAuthenticatorClaimMappings (Optional usernameExpression As String = Nothing, Optional groupsExpression As String = Nothing, Optional uidExpression As String = Nothing, Optional extra As IEnumerable(Of ManagedClusterJwtAuthenticatorExtraClaimMappingExpression) = Nothing) As ManagedClusterJwtAuthenticatorClaimMappings
Parameters
- usernameExpression
- String
The CEL expression used to access token claims.
- groupsExpression
- String
The CEL expression used to access token claims.
- uidExpression
- String
The CEL expression used to access token claims.
The expression to extract extra attribute from the token claims. When not provided, no extra attributes are extracted from the token claims.
Returns
A new ManagedClusterJwtAuthenticatorClaimMappings instance for mocking.