BatchSharedKeyCredentials class
Membuat objek BatchSharedKeyCredentials baru.
Konstruktor
| Batch |
Properti
| account |
Kunci akun batch. |
| account |
Nama akun batch. |
Metode
| sign |
Menandatangani permintaan dengan header Autentikasi. |
Detail Konstruktor
BatchSharedKeyCredentials(string, string)
new BatchSharedKeyCredentials(accountName: string, accountKey: string)
Parameter
- accountName
-
string
- accountKey
-
string
Detail Properti
accountKey
Kunci akun batch.
accountKey: string
Nilai Properti
string
accountName
Nama akun batch.
accountName: string
Nilai Properti
string
Detail Metode
signRequest(WebResource)
Menandatangani permintaan dengan header Autentikasi.
function signRequest(webResource: WebResource): Promise<WebResource>
Parameter
- webResource
- WebResource
Mengembalikan
Promise<WebResource>