CoreAppCredentials interface

CoreAppCredentials

Remarks

Runtime-agnostic interface representing "ServiceClientCredentials" from @azure/ms-rest-js

Methods

signRequest(CoreWebResource)

Signs a request with the Authentication header.

Method Details

signRequest(CoreWebResource)

Signs a request with the Authentication header.

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

Parameters

webResource
CoreWebResource

The CoreWebResource/request to be signed.

Returns

Promise<CoreWebResource>

The signed request object;