BatchSharedKeyCredentials class
Creates a new BatchSharedKeyCredentials object.
Constructors
| Batch |
Properties
| account |
The batch account key. |
| account |
The batch account name. |
Methods
| sign |
Signs a request with the Authentication header. |
Constructor Details
BatchSharedKeyCredentials(string, string)
new BatchSharedKeyCredentials(accountName: string, accountKey: string)
Parameters
- accountName
-
string
- accountKey
-
string
Property Details
accountKey
The batch account key.
accountKey: string
Property Value
string
accountName
The batch account name.
accountName: string
Property Value
string
Method Details
signRequest(WebResource)
Signs a request with the Authentication header.
function signRequest(webResource: WebResource): Promise<WebResource>
Parameters
- webResource
- WebResource
Returns
Promise<WebResource>