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