< Summary

Class:Azure.Identity.TokenCredentialOptions
Assembly:Azure.Identity
File(s):C:\Git\azure-sdk-for-net\sdk\identity\Azure.Identity\src\TokenCredentialOptions.cs
Covered lines:2
Uncovered lines:0
Coverable lines:2
Total lines:24
Line coverage:100% (2 of 2)
Covered branches:2
Total branches:2
Branch coverage:100% (2 of 2)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_AuthorityHost()-100%100%
set_AuthorityHost(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\identity\Azure.Identity\src\TokenCredentialOptions.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using Azure.Core;
 6
 7namespace 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        {
 21020            get { return _authorityHost ?? AzureAuthorityHosts.GetDefault(); }
 821            set { _authorityHost = value; }
 22        }
 23    }
 24}