CommunicationIdentityModelFactory.CommunicationUserIdentifierAndToken Method
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.
Initializes a new instance of the CommunicationUserIdentifierAndToken class.
public static Azure.Communication.Identity.CommunicationUserIdentifierAndToken CommunicationUserIdentifierAndToken(Azure.Communication.CommunicationUserIdentifier user, Azure.Core.AccessToken accessToken);
static member CommunicationUserIdentifierAndToken : Azure.Communication.CommunicationUserIdentifier * Azure.Core.AccessToken -> Azure.Communication.Identity.CommunicationUserIdentifierAndToken
Public Shared Function CommunicationUserIdentifierAndToken (user As CommunicationUserIdentifier, accessToken As AccessToken) As CommunicationUserIdentifierAndToken
Parameters
The user stored in the instance.
- accessToken
- AccessToken
The access token stored in the instance.
Returns
A new CommunicationUserIdentifierAndToken instance for mocking.