| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | #nullable enable |
| | 5 | |
|
| | 6 | | using System; |
| | 7 | | using System.Collections.Generic; |
| | 8 | | using System.Globalization; |
| | 9 | | using System.Text.Json; |
| | 10 | | using System.Xml; |
| | 11 | | using Azure.Core.Pipeline; |
| | 12 | |
|
| | 13 | | namespace Azure.Core |
| | 14 | | { |
| | 15 | | internal static class ManagementPipelineBuilder |
| | 16 | | { |
| | 17 | | public static HttpPipeline Build(TokenCredential credential, Uri endpoint, ClientOptions options) |
| | 18 | | { |
| 1584 | 19 | | return HttpPipelineBuilder.Build(options, new BearerTokenAuthenticationPolicy(credential, $"{endpoint}/.defa |
| | 20 | | } |
| | 21 | | } |
| | 22 | | } |