Login Class

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

Constructor

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

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

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

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.

Attributes

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.

allowed_external_redirect_urls: list[str] | None

The configuration settings of the session cookie's expiration.

cookie_expiration: _models.CookieExpiration | None

nonce

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

nonce: _models.Nonce | None

preserve_url_fragments_for_logins

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

preserve_url_fragments_for_logins: bool | None

routes

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

routes: _models.LoginRoutes | None

token_store

The configuration settings of the token store.

token_store: _models.TokenStore | None