你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GlobalValidation Class

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

Constructor

GlobalValidation(*, 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
unauthenticated_client_action

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

Default value: None
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".

Default value: None
excluded_paths

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

Default value: None

Variables

Name Description
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.