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

AuthPlatform Class

The configuration settings of the platform of App Service Authentication/Authorization.

Constructor

AuthPlatform(*args: Any, **kwargs: Any)

Variables

Name Description
enabled

true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.

runtime_version
str

The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.

config_file_path
str

The path of the config file containing auth settings if they come from a file. If the path is relative, base will the site's root directory.

Attributes

config_file_path

The path of the config file containing auth settings if they come from a file. If the path is relative, base will the site's root directory.

config_file_path: str | None

enabled

true if the Authentication / Authorization feature is enabled for the current app; otherwise, false.

enabled: bool | None

runtime_version

The RuntimeVersion of the Authentication / Authorization feature in use for the current app. The setting in this value can control the behavior of certain features in the Authentication / Authorization module.

runtime_version: str | None