Partager via


TokenStore Class

Definition

The configuration settings of the token store.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.TokenStoreTypeConverter))]
public class TokenStore : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ITokenStore
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.TokenStoreTypeConverter))>]
type TokenStore = class
    interface ITokenStore
    interface IJsonSerializable
Public Class TokenStore
Implements ITokenStore
Inheritance
TokenStore
Attributes
Implements

Constructors

TokenStore()

Creates an new TokenStore instance.

Properties

AzureBlobStorageSasUrlSettingName

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

Enabled

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

FileSystemDirectory

The directory in which the tokens will be stored.

TokenRefreshExtensionHour

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 TokenStore.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of TokenStore.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.ITokenStore.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of TokenStore into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to