Sdílet prostřednictvím


Login Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.LoginTypeConverter))]
public class Login : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ILogin
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.LoginTypeConverter))>]
type Login = class
    interface ILogin
    interface IJsonSerializable
Public Class Login
Implements ILogin
Inheritance
Login
Attributes
Implements

Constructors

Login()

Creates an new Login instance.

Properties

AllowedExternalRedirectUrl

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.

AzureBlobStorageSasUrlSettingName

The name of the app setting containing the SAS URL of the blob storage containing the tokens.

CookieExpirationConvention

The convention used when determining the session cookie's expiration.

CookieExpirationTimeToExpiration

The time after the request is made when the session cookie should expire.

FileSystemDirectory

The directory in which the tokens will be stored.

NonceExpirationInterval

The time after the request is made when the nonce should expire.

NonceValidateNonce

false if the nonce should not be validated while completing the login flow; otherwise, true.

PreserveUrlFragmentsForLogin

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

RouteLogoutEndpoint

The endpoint at which a logout request should be made.

TokenStoreEnabled

true to durably store platform-specific security tokens that are obtained during login flows; otherwise, false. The default is false.

TokenStoreTokenRefreshExtensionHour

The number of hours after session token expiration that a session token can be used to call the token refresh API. The default is 72 hours.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Login.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Login.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ILogin.

FromJsonString(String)

Creates a new instance of Login, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Login into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to