Condividi tramite


AppServiceTokenStore Class

Definition

The configuration settings of the token store.

public class AppServiceTokenStore : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.AppServiceTokenStore>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.AppServiceTokenStore>
type AppServiceTokenStore = class
    interface IJsonModel<AppServiceTokenStore>
    interface IPersistableModel<AppServiceTokenStore>
Public Class AppServiceTokenStore
Implements IJsonModel(Of AppServiceTokenStore), IPersistableModel(Of AppServiceTokenStore)
Inheritance
AppServiceTokenStore
Implements

Constructors

AppServiceTokenStore()

Initializes a new instance of AppServiceTokenStore.

Properties

AzureBlobStorageSasUrlSettingName

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

FileSystemDirectory

The directory in which the tokens will be stored.

IsEnabled

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

TokenRefreshExtensionHours

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AppServiceTokenStore>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AppServiceTokenStore>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AppServiceTokenStore>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AppServiceTokenStore>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AppServiceTokenStore>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to