BatchSharedKeyCredentials class
创建新的 BatchSharedKeyCredentials 对象。
属性
| account |
批处理帐户密钥。 |
| account |
批处理帐户名称。 |
方法
| sign |
使用身份验证标头对请求进行签名。 |
构造函数详细信息
BatchSharedKeyCredentials(string, string)
new BatchSharedKeyCredentials(accountName: string, accountKey: string)
参数
- accountName
-
string
- accountKey
-
string
属性详细信息
accountKey
批处理帐户密钥。
accountKey: string
属性值
string
accountName
批处理帐户名称。
accountName: string
属性值
string
方法详细信息
signRequest(WebResource)
使用身份验证标头对请求进行签名。
function signRequest(webResource: WebResource): Promise<WebResource>
参数
- webResource
- WebResource
返回
Promise<WebResource>