共用方式為


TokenCachePersistenceOptions.UnsafeAllowUnencryptedStorage Property

Definition

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.

public bool UnsafeAllowUnencryptedStorage { get; set; }
member this.UnsafeAllowUnencryptedStorage : bool with get, set
Public Property UnsafeAllowUnencryptedStorage As Boolean

Property Value

Applies to