| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | using System; |
| | 5 | | using Azure.Core; |
| | 6 | |
|
| | 7 | | namespace Azure.Identity |
| | 8 | | { |
| | 9 | | /// <summary> |
| | 10 | | /// Options to configure requests made to the OAUTH identity service. |
| | 11 | | /// </summary> |
| | 12 | | public class TokenCredentialOptions : ClientOptions |
| | 13 | | { |
| | 14 | | private Uri _authorityHost; |
| | 15 | | /// <summary> |
| | 16 | | /// The host of the Azure Active Directory authority. The default is https://login.microsoftonline.com/. For wel |
| | 17 | | /// </summary> |
| | 18 | | public Uri AuthorityHost |
| | 19 | | { |
| 210 | 20 | | get { return _authorityHost ?? AzureAuthorityHosts.GetDefault(); } |
| 8 | 21 | | set { _authorityHost = value; } |
| | 22 | | } |
| | 23 | | } |
| | 24 | | } |