< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_SharedTokenCacheFilePath()-0%100%
.cctor()-0%100%

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4using System;
 5using System.Collections.Generic;
 6using System.IO;
 7
 8namespace Azure.Identity
 9{
 10    internal class Constants
 11    {
 12        public const string OrganizationsTenantId = "organizations";
 13
 14        // TODO: Currently this is piggybacking off the Azure CLI client ID, but needs to be switched once the Developer
 15        public const string DeveloperSignOnClientId = "04b07795-8ddb-461a-bbee-02f9e1bf7b46";
 16
 017        public static string SharedTokenCacheFilePath { get { return Path.Combine(DefaultMsalTokenCacheDirectory, Defaul
 18
 19        public const int SharedTokenCacheAccessRetryCount = 100;
 20
 021        public static readonly TimeSpan SharedTokenCacheAccessRetryDelay = TimeSpan.FromMilliseconds(600);
 22
 023        public static readonly string DefaultMsalTokenCacheDirectory = Path.Combine(Environment.GetFolderPath(Environmen
 24
 25        public const string DefaultMsalTokenCacheKeychainService = "Microsoft.Developer.IdentityService";
 26
 27        public const string DefaultMsalTokenCacheKeychainAccount = "MSALCache";
 28
 29        public const string DefaultMsalTokenCacheKeyringLabel = "MSALCache";
 30
 31        public const string DefaultMsalTokenCacheKeyringSchema = "msal.cache";
 32
 33        public const string DefaultMsalTokenCacheKeyringCollection = "default";
 34
 035        public static readonly KeyValuePair<string, string> DefaultMsaltokenCacheKeyringAttribute1 = new KeyValuePair<st
 36
 037        public static readonly KeyValuePair<string, string> DefaultMsaltokenCacheKeyringAttribute2 = new KeyValuePair<st
 38
 39        public const string DefaultMsalTokenCacheName = "msal.cache";
 40    }
 41}