Partager via


CommunicationTokenCredential interface

Informations d’identification du jeton Azure Communication Services.

Méthodes

dispose()

Supprime CommunicationTokenCredential et annule toute opération d’actualisation automatique interne.

getToken(CommunicationGetTokenOptions)

Obtient une AccessToken pour l’utilisateur. Lève s’il est déjà supprimé.

Détails de la méthode

dispose()

Supprime CommunicationTokenCredential et annule toute opération d’actualisation automatique interne.

function dispose()

getToken(CommunicationGetTokenOptions)

Obtient une AccessToken pour l’utilisateur. Lève s’il est déjà supprimé.

function getToken(options?: CommunicationGetTokenOptions): Promise<AccessToken>

Paramètres

options
CommunicationGetTokenOptions

Options supplémentaires.

Retours

Promise<AccessToken>