SubscriptionKeyCredential class
SubscriptionKeyCredential for account key authorization of Azure Maps service.
- Extends
Constructors
Subscription |
Creates an instance of SubscriptionKeyCredential. |
Methods
create(Request |
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): SubscriptionKeyCredentialPolicy
Parameters
- nextPolicy
-
RequestPolicy
- options
-
RequestPolicyOptions