CommunicationTokenCredential Constructors
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.
Overloads
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. |
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.
public CommunicationTokenCredential (Azure.Communication.CommunicationTokenRefreshOptions options);
new Azure.Communication.CommunicationTokenCredential : Azure.Communication.CommunicationTokenRefreshOptions -> Azure.Communication.CommunicationTokenCredential
Public Sub New (options As CommunicationTokenRefreshOptions)
Parameters
- options
- CommunicationTokenRefreshOptions
Options for how the token will be refreshed
Applies to
CommunicationTokenCredential(String)
Initializes a new instance of CommunicationTokenCredential.
public CommunicationTokenCredential (string token);
new Azure.Communication.CommunicationTokenCredential : string -> Azure.Communication.CommunicationTokenCredential
Public Sub New (token As String)
Parameters
- token
- String
User token acquired from Azure.Communication.Administration package.