SubscriptionKeyCredential class

SubscriptionKeyCredential for account key authorization of Azure Maps service.

Extends

Constructors

SubscriptionKeyCredential(string)

Creates an instance of SubscriptionKeyCredential.

Methods

create(RequestPolicy, RequestPolicyOptions)

Creates a SubscriptionKeyCredentialPolicy object.

Constructor Details

SubscriptionKeyCredential(string)

Creates an instance of SubscriptionKeyCredential.

new SubscriptionKeyCredential(subscriptionKey: string)

Parameters

subscriptionKey
string

Method Details

create(RequestPolicy, RequestPolicyOptions)

Creates a SubscriptionKeyCredentialPolicy object.

function create(nextPolicy: RequestPolicy, options: RequestPolicyOptions)

Parameters

nextPolicy
RequestPolicy
options
RequestPolicyOptions

Returns