Condividi tramite


ArmContainerServiceModelFactory.ManagedClusterJwtAuthenticatorClaimMappings Method

Definition

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.

extra
IEnumerable<ManagedClusterJwtAuthenticatorExtraClaimMappingExpression>

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.

Applies to