<PackageReference Include="Azure.Core" Version="1.53.0" />

Azure.Identity.TokenCachePersistenceOptions

Options controlling the storage of the token cache.
public string Name { get; set; }

Name uniquely identifying the TokenCachePersistenceOptions.

public bool UnsafeAllowUnencryptedStorage { get; set; }

If set to true the token cache may be persisted as an unencrypted file if no OS level user encryption is available. When set to false the token cache will throw a CredentialUnavailableException in the event no OS level user encryption is available.

Creates a new instance of TokenCachePersistenceOptions.