| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | namespace 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> |
| | 12 | 13 | | 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> |
| | 12 | 22 | | public SharedAccessSignatureCredentials(string sasToken) => |
| | 12 | 23 | | SasToken = sasToken; |
| | | 24 | | } |
| | | 25 | | } |