TopicCredentials class

A TopicCredentials object used for Azure Event Grid.

Extends

Constructors

TopicCredentials(string)

Creates a new EventGrid TopicCredentials object.

Inherited Methods

signRequest(WebResourceLike)

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

Constructor Details

TopicCredentials(string)

Creates a new EventGrid TopicCredentials object.

new TopicCredentials(topicKey: string)

Parameters

topicKey

string

The EventGrid topic 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 WebResourceLike to be signed.

Returns

Promise<WebResourceLike>

The signed request object.

Inherited From ApiKeyCredentials.signRequest