CommunicationTokenCredential Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The Azure Communication Services Token Credential.
public sealed class CommunicationTokenCredential : IDisposable
type CommunicationTokenCredential = class
interface IDisposable
Public NotInheritable Class CommunicationTokenCredential
Implements IDisposable
- Inheritance
-
CommunicationTokenCredential
- Implements
Constructors
CommunicationTokenCredential(CommunicationTokenRefreshOptions) |
Initializes a new instance of CommunicationTokenCredential that automatically renews the token upon expiry or proactively prior to expiration to speed up the requests. |
CommunicationTokenCredential(String) |
Initializes a new instance of CommunicationTokenCredential. |
Methods
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
GetToken(CancellationToken) |
Gets an AccessToken for the user. |
GetTokenAsync(CancellationToken) |
Gets an AccessToken for the user. |