< Summary

Class:Azure.Storage.SharedAccessSignatureCredentials
Assembly:Azure.Storage.Common
File(s):C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Common\src\Shared\SharedAccessSignatureCredentials.cs
Covered lines:0
Uncovered lines:3
Coverable lines:3
Total lines:25
Line coverage:0% (0 of 3)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_SasToken()-0%100%
.ctor(...)-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\storage\Azure.Storage.Common\src\Shared\SharedAccessSignatureCredentials.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4namespace Azure.Storage
 5{
 6    // TODO: Consider making public if there's ever a reason for developers to use this type
 7    internal sealed class SharedAccessSignatureCredentials
 8    {
 9        /// <summary>
 10        /// Gets the SAS token used to authenticate requests to the Storage
 11        /// service.
 12        /// </summary>
 013        public string SasToken { get; }
 14
 15        /// <summary>
 16        /// Initializes a new instance of the
 17        /// <see cref="SharedAccessSignatureCredentials"/> class.
 18        /// </summary>
 19        /// <param name="sasToken">
 20        /// The SAS token used to authenticate requests to the Storage service.
 21        /// </param>
 022        public SharedAccessSignatureCredentials(string sasToken) =>
 023            SasToken = sasToken;
 24    }
 25}

Methods/Properties

get_SasToken()
.ctor(...)