你当前正在访问 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()

Variables

Name Description
unauthenticatedClientAction
Union[str, <xref:"UnauthenticatedClientActionV2">]

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

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

excludedPaths

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

Attributes

excludedPaths

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

excludedPaths: list[str]

redirectToProvider

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

redirectToProvider: str

unauthenticatedClientAction

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

unauthenticatedClientAction: str | UnauthenticatedClientActionV2