Condividi tramite


BatchSharedKeyCredentials class

Crea un nuovo oggetto BatchSharedKeyCredentials.

Costruttori

BatchSharedKeyCredentials(string, string)

Proprietà

accountKey

Chiave dell'account batch.

accountName

Nome dell'account batch.

Metodi

signRequest(WebResource)

Firma una richiesta con l'intestazione Authentication.

Dettagli costruttore

BatchSharedKeyCredentials(string, string)

new BatchSharedKeyCredentials(accountName: string, accountKey: string)

Parametri

accountName

string

accountKey

string

Dettagli proprietà

accountKey

Chiave dell'account batch.

accountKey: string

Valore della proprietà

string

accountName

Nome dell'account batch.

accountName: string

Valore della proprietà

string

Dettagli metodo

signRequest(WebResource)

Firma una richiesta con l'intestazione Authentication.

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

Parametri

webResource
WebResource

Restituisce

Promise<WebResource>