| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | namespace Azure.Identity |
| | 5 | | { |
| | 6 | | /// <summary> |
| | 7 | | /// Options used to configure the <see cref="ClientCertificateCredential"/>. |
| | 8 | | /// </summary> |
| | 9 | | internal class ClientCertificateCredentialOptions : TokenCredentialOptions, ITokenCacheOptions |
| | 10 | | { |
| | 11 | |
|
| | 12 | | /// <summary> |
| | 13 | | /// If set to true the credential will store tokens in a cache persisted to the machine, protected to the curren |
| | 14 | | /// </summary> |
| 0 | 15 | | public bool EnablePersistentCache { get; set; } |
| | 16 | |
|
| | 17 | | /// <summary> |
| | 18 | | /// If set to true the credential will fall back to storing tokens in an unencrypted file if no OS level user en |
| | 19 | | /// </summary> |
| 0 | 20 | | public bool AllowUnencryptedCache { get; set; } |
| | 21 | | } |
| | 22 | | } |