DomainCredentials class

Authenticates to a service using an API key.

Extends

Constructors

DomainCredentials(string)

Creates a new EventGrid DomainCredentials object.

Inherited Methods

signRequest(WebResourceLike)

Signs a request with the values provided in the inHeader and inQuery parameter.

Constructor Details

DomainCredentials(string)

Creates a new EventGrid DomainCredentials object.

new DomainCredentials(domainKey: string)

Parameters

domainKey

string

The EventGrid domain key

Inherited Method Details

signRequest(WebResourceLike)

Signs a request with the values provided in the inHeader and inQuery parameter.

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

Parameters

webResource
WebResourceLike

The WebResource to be signed.

Returns

Promise<WebResourceLike>

The signed request object.

Inherited From ApiKeyCredentials.signRequest