-
@Serializable() public final class TokenSourceResponse
-
-
Field Summary
Fields Modifier and Type Field Description private final StringserverUrlprivate final StringparticipantTokenprivate final StringroomNameprivate final StringparticipantName
-
Constructor Summary
Constructors Constructor Description TokenSourceResponse(String serverUrl, String participantToken, String roomName, String participantName)
-
Method Summary
Modifier and Type Method Description final StringgetServerUrl()The server url to connect with the associated participantToken. final StringgetParticipantToken()The JWT token used to connect to the room. final StringgetRoomName()The room name. final StringgetParticipantName()The participant name. -
-
Method Detail
-
getServerUrl
final String getServerUrl()
The server url to connect with the associated participantToken.
-
getParticipantToken
final String getParticipantToken()
The JWT token used to connect to the room.
Specific details of the payload may be examined with TokenPayload (such as the permissions, metadata, etc.)
-
getRoomName
final String getRoomName()
The room name.
Note: Not required to be sent by the server response.
-
getParticipantName
final String getParticipantName()
The participant name.
Note: Not required to be sent by the server response.
-
-
-
-