CommunicationTokenCredential interface
Kredensial token Azure Communication Services.
Metode
dispose() | Buang CommunicationTokenCredential dan batalkan operasi refresh otomatis internal apa pun. |
get |
|
Detail Metode
dispose()
Buang CommunicationTokenCredential dan batalkan operasi refresh otomatis internal apa pun.
function dispose()
getToken(CommunicationGetTokenOptions)
AccessToken
Mendapatkan untuk pengguna. Melempar jika sudah dibuang.
function getToken(options?: CommunicationGetTokenOptions): Promise<AccessToken>
Parameter
- options
- CommunicationGetTokenOptions
Opsi tambahan.
Mengembalikan
Promise<AccessToken>