ServiceClientCredentials interface

Represents an object or class with a signRequest method which will sign outgoing requests (for example, by setting the Authorization header).

Methods

signRequest(WebResourceLike)

Signs a request with the Authentication header.

Method Details

signRequest(WebResourceLike)

Signs a request with the Authentication header.

function signRequest(webResource: WebResourceLike): Promise<WebResourceLike>

Parameters

webResource
WebResourceLike

The WebResourceLike/request to be signed.

Returns

Promise<WebResourceLike>

The signed request object;