Creates an instance of CommunicationTokenCredential with a static token and no proactive refreshing.
A user access token issued by Communication Services.
Creates an instance of CommunicationTokenCredential with a lambda to get a token and options to configure proactive refreshing.
Options to configure refresh and opt-in to proactive refreshing.
Disposes the CommunicationTokenCredential and cancels any internal auto-refresh operation.
Gets an AccessToken
for the user. Throws if already disposed.
Generated using TypeDoc
The CommunicationTokenCredential implementation with support for proactive token refresh.