共用方式為


BatchSharedKeyCredentials class

建立新的 BatchSharedKeyCredentials 物件。

建構函式

BatchSharedKeyCredentials(string, string)

屬性

accountKey

批次帳戶金鑰。

accountName

批次帳戶名稱。

方法

signRequest(WebResource)

使用驗證標頭簽署要求。

建構函式詳細資料

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>