< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_EnablePersistentCache()-0%100%
get_AllowUnencryptedCache()-0%100%

File(s)

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

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.Identity
 5{
 6    /// <summary>
 7    /// Options used to configure the <see cref="ClientSecretCredential"/>.
 8    /// </summary>
 9    internal class ClientSecretCredentialOptions : TokenCredentialOptions, ITokenCacheOptions
 10    {
 11
 12        /// <summary>
 13        /// If set to true the credential will store tokens in a persistent cache shared by other credentials.
 14        /// </summary>
 015        public bool EnablePersistentCache { get; set; }
 16
 17        /// <summary>
 18        /// If set to true the credential will fall back to storing tokens in an unencrypted file if no OS level user en
 19        /// </summary>
 020        public bool AllowUnencryptedCache { get; set; }
 21    }
 22}