Interface Storage Service Authorization, source in 24

Source242526272829metadata in 24

src/System Application/App/Azure Storage Services Authorization/src/StorageServiceAuthorization.Interface.al19 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

namespace System.Azure.Storage;

/// <summary>
/// Common interface for different authorization options.
/// </summary>
interface "Storage Service Authorization"
{
    /// <summary>
    /// Authorizes an HTTP request by providing the needed authorization information to it.
    /// </summary>
    /// <param name="HttpRequest">The HTTP request to authorize.</param>
    /// <param name="StorageAccount">The name of the storage account to authorize against.</param>
    procedure Authorize(var HttpRequest: HttpRequestMessage; StorageAccount: Text);
}