次の方法で共有


BatchSharedKeyCredentials class

新しい BatchSharedKeyCredentials オブジェクトを作成します。

コンストラクター

BatchSharedKeyCredentials(string, string)

プロパティ

accountKey

バッチ アカウント キー。

accountName

バッチ アカウント名。

メソッド

signRequest(WebResource)

Authentication ヘッダーを使用して要求に署名します。

コンストラクターの詳細

BatchSharedKeyCredentials(string, string)

new BatchSharedKeyCredentials(accountName: string, accountKey: string)

パラメーター

accountName

string

accountKey

string

プロパティの詳細

accountKey

バッチ アカウント キー。

accountKey: string

プロパティ値

string

accountName

バッチ アカウント名。

accountName: string

プロパティ値

string

メソッドの詳細

signRequest(WebResource)

Authentication ヘッダーを使用して要求に署名します。

function signRequest(webResource: WebResource): Promise<WebResource>

パラメーター

webResource
WebResource

戻り値

Promise<WebResource>