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

Login Class

The configuration settings of the login flow of users using ContainerApp Service Authentication/Authorization.

Constructor

Login(*, routes: _models.LoginRoutes | None = None, token_store: _models.TokenStore | None = None, preserve_url_fragments_for_logins: bool | None = None, allowed_external_redirect_urls: list[str] | None = None, cookie_expiration: _models.CookieExpiration | None = None, nonce: _models.Nonce | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
routes

The routes that specify the endpoints used for login and logout requests.

Default value: None
token_store

The configuration settings of the token store.

Default value: None
preserve_url_fragments_for_logins

<code>true</code> if the fragments from the request are preserved after the login request is made; otherwise, <code>false</code>.

Default value: None
allowed_external_redirect_urls

External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.

Default value: None
cookie_expiration

The configuration settings of the session cookie's expiration.

Default value: None
nonce

The configuration settings of the nonce used in the login flow.

Default value: None

Variables

Name Description
routes

The routes that specify the endpoints used for login and logout requests.

token_store

The configuration settings of the token store.

preserve_url_fragments_for_logins

<code>true</code> if the fragments from the request are preserved after the login request is made; otherwise, <code>false</code>.

allowed_external_redirect_urls

External URLs that can be redirected to as part of logging in or logging out of the app. Note that the query string part of the URL is ignored. This is an advanced setting typically only needed by Windows Store application backends. Note that URLs within the current domain are always implicitly allowed.

cookie_expiration

The configuration settings of the session cookie's expiration.

nonce

The configuration settings of the nonce used in the login flow.