| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | namespace Azure.Storage |
| | 5 | | { |
| | 6 | | /// <summary> |
| | 7 | | /// This class is added to access protected static methods off of the base class |
| | 8 | | /// that should not be exposed directly to customers. |
| | 9 | | /// </summary> |
| | 10 | | internal class StorageSharedKeyCredentialInternals : StorageSharedKeyCredential |
| | 11 | | { |
| | 12 | | #pragma warning disable IDE0051 // Remove unused private members |
| | 13 | | private StorageSharedKeyCredentialInternals(string accountName, string accountKey) : |
| | 14 | | #pragma warning restore IDE0051 // Remove unused private members |
| 0 | 15 | | base(accountName, accountKey) |
| | 16 | | { |
| 0 | 17 | | } |
| | 18 | |
|
| | 19 | | internal static new string ComputeSasSignature(StorageSharedKeyCredential credential, string message) => |
| 4 | 20 | | StorageSharedKeyCredential.ComputeSasSignature(credential, message); |
| | 21 | | } |
| | 22 | | } |