다음을 통해 공유


Login Constructors

Definition

Overloads

Login()

Initializes a new instance of the Login class.

Login(LoginRoutes, TokenStore, Nullable<Boolean>, IList<String>, CookieExpiration, Nonce)

Initializes a new instance of the Login class.

Login()

Initializes a new instance of the Login class.

public Login ();
Public Sub New ()

Applies to

Login(LoginRoutes, TokenStore, Nullable<Boolean>, IList<String>, CookieExpiration, Nonce)

Initializes a new instance of the Login class.

public Login (Microsoft.Azure.Management.WebSites.Models.LoginRoutes routes = default, Microsoft.Azure.Management.WebSites.Models.TokenStore tokenStore = default, bool? preserveUrlFragmentsForLogins = default, System.Collections.Generic.IList<string> allowedExternalRedirectUrls = default, Microsoft.Azure.Management.WebSites.Models.CookieExpiration cookieExpiration = default, Microsoft.Azure.Management.WebSites.Models.Nonce nonce = default);
new Microsoft.Azure.Management.WebSites.Models.Login : Microsoft.Azure.Management.WebSites.Models.LoginRoutes * Microsoft.Azure.Management.WebSites.Models.TokenStore * Nullable<bool> * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.WebSites.Models.CookieExpiration * Microsoft.Azure.Management.WebSites.Models.Nonce -> Microsoft.Azure.Management.WebSites.Models.Login
Public Sub New (Optional routes As LoginRoutes = Nothing, Optional tokenStore As TokenStore = Nothing, Optional preserveUrlFragmentsForLogins As Nullable(Of Boolean) = Nothing, Optional allowedExternalRedirectUrls As IList(Of String) = Nothing, Optional cookieExpiration As CookieExpiration = Nothing, Optional nonce As Nonce = Nothing)

Parameters

routes
LoginRoutes

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

tokenStore
TokenStore

The configuration settings of the token store.

preserveUrlFragmentsForLogins
Nullable<Boolean>

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

allowedExternalRedirectUrls
IList<String>

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.

cookieExpiration
CookieExpiration

The configuration settings of the session cookie's expiration.

nonce
Nonce

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

Applies to