| | 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="ClientSecretCredential"/>. |
| | 8 | | /// </summary> |
| | 9 | | internal class ClientSecretCredentialOptions : TokenCredentialOptions, ITokenCacheOptions |
| | 10 | | { |
| | 11 | |
|
| | 12 | | /// <summary> |
| | 13 | | /// If set to true the credential will store tokens in a persistent cache shared by other credentials. |
| | 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 | | } |