Login Class

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

Inheritance
Login

Constructor

Login(*, routes: Optional[azure.mgmt.web.v2021_02_01.models._models_py3.LoginRoutes] = None, token_store: Optional[azure.mgmt.web.v2021_02_01.models._models_py3.TokenStore] = None, preserve_url_fragments_for_logins: Optional[bool] = None, allowed_external_redirect_urls: Optional[List[str]] = None, cookie_expiration: Optional[azure.mgmt.web.v2021_02_01.models._models_py3.CookieExpiration] = None, nonce: Optional[azure.mgmt.web.v2021_02_01.models._models_py3.Nonce] = None, **kwargs)

Parameters

routes
LoginRoutes
Required

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

token_store
TokenStore
Required

The configuration settings of the token store.

preserve_url_fragments_for_logins
bool
Required

<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
list[str]
Required

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
CookieExpiration
Required

The configuration settings of the session cookie's expiration.

nonce
Nonce
Required

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