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

Name Description
ContainerAppTokenStore()

Initializes a new instance of ContainerAppTokenStore.

Properties

Name Description
AzureBlobStorageSasUrlSettingName

The name of the app secrets containing the SAS URL of the blob storage containing the tokens. Should not be used along with blobContainerUri.

BlobContainerUri

The URI of the blob storage containing the tokens. Should not be used along with sasUrlSettingName.

ClientId

The Client ID of a User-Assigned Managed Identity. Should not be used along with managedIdentityResourceId.

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

ManagedIdentityResourceId

The Resource ID of a User-Assigned Managed Identity. Should not be used along with clientId.

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

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
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