Token Request Options
data class TokenRequestOptions(val roomName: String? = null, val participantName: String? = null, val participantIdentity: String? = null, val participantMetadata: String? = null, val participantAttributes: Map<String, String>? = null, val agentName: String? = null, val agentMetadata: String? = null)
The options for a token request.
When making a custom request against a token server, this is converted into TokenSourceRequest through toRequest.
Constructors
Properties
Functions
Link copied to clipboard
Converts a TokenRequestOptions to TokenSourceRequest, a JSON serializable request body.