GlobalValidation Class

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

Inheritance
GlobalValidation

Constructor

GlobalValidation(*, require_authentication: Optional[bool] = None, unauthenticated_client_action: Optional[Union[str, azure.mgmt.web.v2021_01_01.models._web_site_management_client_enums.UnauthenticatedClientActionV2]] = None, redirect_to_provider: Optional[str] = None, excluded_paths: Optional[List[str]] = None, **kwargs)

Parameters

require_authentication
bool
Required

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

unauthenticated_client_action
str or UnauthenticatedClientActionV2
Required

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

redirect_to_provider
str
Required

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
list[str]
Required

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