ArmAppContainersModelFactory.ContainerAppTokenStore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.AppContainers.Models.ContainerAppTokenStore ContainerAppTokenStore(bool? isEnabled = default, double? tokenRefreshExtensionHours = default, string azureBlobStorageSasUrlSettingName = default, string blobContainerUri = default, string clientId = default, Azure.Core.ResourceIdentifier managedIdentityResourceId = default);
static member ContainerAppTokenStore : Nullable<bool> * Nullable<double> * string * string * string * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.AppContainers.Models.ContainerAppTokenStore
Public Shared Function ContainerAppTokenStore (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional tokenRefreshExtensionHours As Nullable(Of Double) = Nothing, Optional azureBlobStorageSasUrlSettingName As String = Nothing, Optional blobContainerUri As String = Nothing, Optional clientId As String = Nothing, Optional managedIdentityResourceId As ResourceIdentifier = Nothing) As ContainerAppTokenStore
Parameters
<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>.
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.
- azureBlobStorageSasUrlSettingName
- String
The name of the app secrets containing the SAS URL of the blob storage containing the tokens.
- blobContainerUri
- String
The URI of the blob storage containing the tokens. Should not be used along with sasUrlSettingName.
- clientId
- String
The Client ID of a User-Assigned Managed Identity. Should not be used along with managedIdentityResourceId.
- managedIdentityResourceId
- ResourceIdentifier
The Resource ID of a User-Assigned Managed Identity. Should not be used along with clientId.
Returns
A new ContainerAppTokenStore instance for mocking.