CommunicationTokenCredential interface
Azure 通訊服務令牌認證。
方法
| dispose() | 處置 CommunicationTokenCredential 並取消任何內部自動重新整理作業。 |
| get |
取得使用者的 |
方法詳細資料
dispose()
處置 CommunicationTokenCredential 並取消任何內部自動重新整理作業。
function dispose()
getToken(CommunicationGetTokenOptions)
取得使用者的 AccessToken。 如果已經處置,則擲回 。
function getToken(options?: CommunicationGetTokenOptions): Promise<AccessToken>
參數
- options
- CommunicationGetTokenOptions
其他選項。
傳回
Promise<AccessToken>