Creates an instance of CommunicationUserCredential with a static token and no proactive refreshing.
A user access token issued by Communication Services.
Creates an instance of CommunicationUserCredential 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 CommunicationUserCredential and cancels any internal auto-refresh operation.
Gets an AccessToken
for the user. Throws if already disposed.
An implementation of AbortSignalLike
to cancel the operation.
Generated using TypeDoc
The CommunicationUserCredential implementation with support for proactive token refresh.