UNPKG

548 BPlain TextView Raw
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License. See License.txt in the project root for license information.
3
4import { WebResourceLike } from "../webResource";
5
6export interface ServiceClientCredentials {
7 /**
8 * Signs a request with the Authentication header.
9 *
10 * @param {WebResourceLike} webResource The WebResourceLike/request to be signed.
11 * @returns {Promise<WebResourceLike>} The signed request object;
12 */
13 signRequest(webResource: WebResourceLike): Promise<WebResourceLike>;
14}