Class CommunicationUserIdentifierAndToken

java.lang.Object
com.azure.communication.identity.models.CommunicationUserIdentifierAndToken

public final class CommunicationUserIdentifierAndToken extends Object
The CommunicationUserIdentifierWithAccessTokenResult model.
  • Constructor Details

    • CommunicationUserIdentifierAndToken

      public CommunicationUserIdentifierAndToken(CommunicationUserIdentifier communicationUser, AccessToken userToken)
      Creates a CommunicationUserIdentifierAndToken object
      Parameters:
      communicationUser - the communication user identifier
      userToken - the user token of the communication user
      Throws:
      IllegalArgumentException - thrown if id parameter fail the validation.
  • Method Details

    • getUser

      public CommunicationUserIdentifier getUser()
      Get the communicationUser property: A Communication User Identifier.
      Returns:
      the communicationUser value.
    • getUserToken

      public AccessToken getUserToken()
      Get the userToken property: A user token.
      Returns:
      the userToken value.