ArmAppContainersModelFactory.ContainerAppLogin Method

Definition

public static Azure.ResourceManager.AppContainers.Models.ContainerAppLogin ContainerAppLogin(string routesLogoutEndpoint = default, Azure.ResourceManager.AppContainers.Models.ContainerAppTokenStore tokenStore = default, bool? preserveUrlFragmentsForLogins = default, System.Collections.Generic.IEnumerable<string> allowedExternalRedirectUrls = default, Azure.ResourceManager.AppContainers.Models.ContainerAppCookieExpiration cookieExpiration = default, Azure.ResourceManager.AppContainers.Models.ContainerAppLoginNonce nonce = default);
static member ContainerAppLogin : string * Azure.ResourceManager.AppContainers.Models.ContainerAppTokenStore * Nullable<bool> * seq<string> * Azure.ResourceManager.AppContainers.Models.ContainerAppCookieExpiration * Azure.ResourceManager.AppContainers.Models.ContainerAppLoginNonce -> Azure.ResourceManager.AppContainers.Models.ContainerAppLogin
Public Shared Function ContainerAppLogin (Optional routesLogoutEndpoint As String = Nothing, Optional tokenStore As ContainerAppTokenStore = Nothing, Optional preserveUrlFragmentsForLogins As Nullable(Of Boolean) = Nothing, Optional allowedExternalRedirectUrls As IEnumerable(Of String) = Nothing, Optional cookieExpiration As ContainerAppCookieExpiration = Nothing, Optional nonce As ContainerAppLoginNonce = Nothing) As ContainerAppLogin

Parameters

routesLogoutEndpoint
String

The endpoint at which a logout request should be made.

tokenStore
ContainerAppTokenStore

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
IEnumerable<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
ContainerAppCookieExpiration

The configuration settings of the session cookie's expiration.

nonce
ContainerAppLoginNonce

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

Returns

A new ContainerAppLogin instance for mocking.

Applies to