BatchSharedKeyCredentials class
Crea un nuovo oggetto BatchSharedKeyCredentials.
Costruttori
| Batch |
Proprietà
| account |
Chiave dell'account batch. |
| account |
Nome dell'account batch. |
Metodi
| sign |
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>