Dela via


GlobalValidation Class

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

Inheritance
azure.mgmt.web._serialization.Model
GlobalValidation

Constructor

GlobalValidation(*, require_authentication: bool | None = None, unauthenticated_client_action: str | _models.UnauthenticatedClientActionV2 | None = None, redirect_to_provider: str | None = None, excluded_paths: List[str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
require_authentication

<code>true</code> if the authentication flow is required any request is made; otherwise, <code>false</code>.

unauthenticated_client_action

The action to take when an unauthenticated client attempts to access the app. Known values are: "RedirectToLoginPage", "AllowAnonymous", "Return401", and "Return403".

redirect_to_provider
str

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".

excluded_paths

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

Variables

Name Description
require_authentication

<code>true</code> if the authentication flow is required any request is made; otherwise, <code>false</code>.

unauthenticated_client_action

The action to take when an unauthenticated client attempts to access the app. Known values are: "RedirectToLoginPage", "AllowAnonymous", "Return401", and "Return403".

redirect_to_provider
str

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".

excluded_paths

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