< Summary

Class:Azure.Analytics.Synapse.SynapseClientPipeline
Assembly:Azure.Analytics.Synapse.AccessControl
File(s):C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Shared\src\SynapseClientPipeline.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:18
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
Build(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\synapse\Azure.Analytics.Synapse.Shared\src\SynapseClientPipeline.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using Azure.Core;
 5using Azure.Core.Pipeline;
 6
 7namespace Azure.Analytics.Synapse
 8{
 9    internal static class SynapseClientPipeline
 10    {
 11        private const string DefaultScope = "https://dev.azuresynapse.net/.default";
 12
 13        public static HttpPipeline Build(ClientOptions options, TokenCredential credential)
 14        {
 1615            return HttpPipelineBuilder.Build(options, new BearerTokenAuthenticationPolicy(credential, DefaultScope));
 16        }
 17    }
 18}

Methods/Properties

Build(...)