Interface ParticipantTokenCredentials.Builder

    • Method Detail

      • participantToken

        ParticipantTokenCredentials.Builder participantToken​(String participantToken)

        The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.

        Parameters:
        participantToken - The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • expiry

        ParticipantTokenCredentials.Builder expiry​(String expiry)

        The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

        Parameters:
        expiry - The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.
        Returns:
        Returns a reference to this object so that method calls can be chained together.