ParticipantToken

Object specifying a participant token in a stage.

Important: Treat tokens as opaque; i.e., do not build functionality based on token contents. The format of tokens could change in the future.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Application-provided attributes to encode into the token and attach to a stage. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

Link copied to clipboard

Set of capabilities that the user is allowed to perform in the stage.

Link copied to clipboard

Duration (in minutes), after which the participant token expires. Default: 720 (12 hours).

Link copied to clipboard

ISO 8601 timestamp (returned as a string) for when this token expires.

Link copied to clipboard

Unique identifier for this participant token, assigned by IVS.

Link copied to clipboard

The issued client token, encrypted.

Link copied to clipboard

Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

Functions

Link copied to clipboard
inline fun copy(block: ParticipantToken.Builder.() -> Unit = {}): ParticipantToken
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String