CommunicationUserIdentifierAndToken Class

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

public final class CommunicationUserIdentifierAndToken

The CommunicationUserIdentifierWithAccessTokenResult model.

Constructor Summary

Constructor Description
CommunicationUserIdentifierAndToken(CommunicationUserIdentifier communicationUser, AccessToken userToken)

Creates a CommunicationUserIdentifierAndToken object

Method Summary

Modifier and Type Method and Description
CommunicationUserIdentifier getUser()

Get the communicationUser property: A Communication User Identifier.

AccessToken getUserToken()

Get the userToken property: A user token.

Methods inherited from java.lang.Object

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

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.

Applies to