ArmAppContainersModelFactory.ContainerAppGlobalValidation Method

Definition

The configuration settings that determines the validation flow of users using ContainerApp Service Authentication/Authorization.

public static Azure.ResourceManager.AppContainers.Models.ContainerAppGlobalValidation ContainerAppGlobalValidation(Azure.ResourceManager.AppContainers.Models.ContainerAppUnauthenticatedClientActionV2? unauthenticatedClientAction = default, string redirectToProvider = default, System.Collections.Generic.IEnumerable<string> excludedPaths = default);
static member ContainerAppGlobalValidation : Nullable<Azure.ResourceManager.AppContainers.Models.ContainerAppUnauthenticatedClientActionV2> * string * seq<string> -> Azure.ResourceManager.AppContainers.Models.ContainerAppGlobalValidation
Public Shared Function ContainerAppGlobalValidation (Optional unauthenticatedClientAction As Nullable(Of ContainerAppUnauthenticatedClientActionV2) = Nothing, Optional redirectToProvider As String = Nothing, Optional excludedPaths As IEnumerable(Of String) = Nothing) As ContainerAppGlobalValidation

Parameters

unauthenticatedClientAction
Nullable<ContainerAppUnauthenticatedClientActionV2>

The action to take when an unauthenticated client attempts to access the app.

redirectToProvider
String

The default authentication provider to use when multiple providers are configured. This setting is only needed if multiple providers are configured and the unauthenticated client action is set to "RedirectToLoginPage".

excludedPaths
IEnumerable<String>

The paths for which unauthenticated flow would not be redirected to the login page.

Returns

A new ContainerAppGlobalValidation instance for mocking.

Applies to