Condividi tramite


ArmContainerServiceModelFactory.ManagedClusterJwtAuthenticatorIssuer Method

Definition

The OIDC issuer details for JWTAuthenticator.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorIssuer ManagedClusterJwtAuthenticatorIssuer(string uri = default, System.Collections.Generic.IEnumerable<string> audiences = default);
static member ManagedClusterJwtAuthenticatorIssuer : string * seq<string> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterJwtAuthenticatorIssuer
Public Shared Function ManagedClusterJwtAuthenticatorIssuer (Optional uri As String = Nothing, Optional audiences As IEnumerable(Of String) = Nothing) As ManagedClusterJwtAuthenticatorIssuer

Parameters

uri
String

The issuer URL. The URL must begin with the scheme https and cannot contain a query string or fragment. This must match the "iss" claim in the presented JWT, and the issuer returned from discovery.

audiences
IEnumerable<String>

The set of acceptable audiences the JWT must be issued to. At least one is required. When multiple is set, AudienceMatchPolicy is used in API Server configuration.

Returns

A new ManagedClusterJwtAuthenticatorIssuer instance for mocking.

Applies to