Partilhar via


ContainerAppTokenStore Class

Definition

The configuration settings of the token store.

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

Constructors

ContainerAppTokenStore()

Initializes a new instance of ContainerAppTokenStore.

Properties

AzureBlobStorageSasUrlSettingName

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

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<ContainerAppTokenStore>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerAppTokenStore>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerAppTokenStore>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerAppTokenStore>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerAppTokenStore>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to