< Summary

Class:Azure.Identity.UsernamePasswordCredentialOptions
Assembly:Azure.Identity
File(s):C:\Git\azure-sdk-for-net\sdk\identity\Azure.Identity\src\UsernamePasswordCredentialOptions.cs
Covered lines:0
Uncovered lines:2
Coverable lines:2
Total lines:21
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\UsernamePasswordCredentialOptions.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 to configure the <see cref="UsernamePasswordCredential"/>.
 8    /// </summary>
 9    internal class UsernamePasswordCredentialOptions : TokenCredentialOptions, ITokenCacheOptions
 10    {
 11        /// <summary>
 12        /// If set to true the credential will store tokens in a persistent cache shared by other user credentials.
 13        /// </summary>
 014        public bool EnablePersistentCache { get; set; }
 15
 16        /// <summary>
 17        /// If set to true the credential will fall back to storing tokens in an unencrypted file if no OS level user en
 18        /// </summary>
 019        public bool AllowUnencryptedCache { get; set; }
 20    }
 21}