Class CommunicationUserIdentifierAndToken
java.lang.Object
com.azure.communication.identity.models.CommunicationUserIdentifierAndToken
The CommunicationUserIdentifierWithAccessTokenResult model.
-
Constructor Summary
ConstructorDescriptionCommunicationUserIdentifierAndToken
(CommunicationUserIdentifier communicationUser, AccessToken userToken) Creates a CommunicationUserIdentifierAndToken object -
Method Summary
Modifier and TypeMethodDescriptiongetUser()
Get the communicationUser property: A Communication User Identifier.Get the userToken property: A user token.
-
Constructor Details
-
CommunicationUserIdentifierAndToken
public CommunicationUserIdentifierAndToken(CommunicationUserIdentifier communicationUser, AccessToken userToken) Creates a CommunicationUserIdentifierAndToken object- Parameters:
communicationUser
- the communication user identifieruserToken
- the user token of the communication user- Throws:
IllegalArgumentException
- thrown if id parameter fail the validation.
-
-
Method Details
-
getUser
Get the communicationUser property: A Communication User Identifier.- Returns:
- the communicationUser value.
-
getUserToken
Get the userToken property: A user token.- Returns:
- the userToken value.
-