Skip to content

ParticipantToken

Source code in docs_src/capo_ivs_realtime/types/participant_token.py
class ParticipantToken(TypedDict, closed=True):
    participant_id: NotRequired[
        "capo_ivs_realtime.types.participant_token_id.ParticipantTokenId"
    ]
    """<p>Unique identifier for this participant token, assigned by IVS.</p>"""
    token: NotRequired[
        "capo_ivs_realtime.types.participant_token_string.ParticipantTokenString"
    ]
    """<p>The issued client token, encrypted.</p>"""
    user_id: NotRequired[
        "capo_ivs_realtime.types.participant_token_user_id.ParticipantTokenUserId"
    ]
    """<p>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. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>"""
    attributes: NotRequired[
        "capo_ivs_realtime.types.participant_token_attributes.ParticipantTokenAttributes"
    ]
    """<p>Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>"""
    duration: NotRequired[
        "capo_ivs_realtime.types.participant_token_duration_minutes.ParticipantTokenDurationMinutes"
    ]
    """<p>Duration (in minutes), after which the participant token expires. Default: 720 (12 hours).</p>"""
    capabilities: NotRequired[
        "capo_ivs_realtime.types.participant_token_capabilities.ParticipantTokenCapabilities"
    ]
    """<p>Set of capabilities that the user is allowed to perform in the stage.</p>"""
    expiration_time: NotRequired[
        "capo_ivs_realtime.types.participant_token_expiration_time.ParticipantTokenExpirationTime"
    ]
    """<p>ISO 8601 timestamp (returned as a string) for when this token expires.</p>"""

attributes instance-attribute

attributes: NotRequired[ParticipantTokenAttributes]

Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.

capabilities instance-attribute

capabilities: NotRequired[ParticipantTokenCapabilities]

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

duration instance-attribute

duration: NotRequired[ParticipantTokenDurationMinutes]

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

expiration_time instance-attribute

expiration_time: NotRequired[ParticipantTokenExpirationTime]

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

participant_id instance-attribute

participant_id: NotRequired[ParticipantTokenId]

Unique identifier for this participant token, assigned by IVS.

token instance-attribute

token: NotRequired[ParticipantTokenString]

The issued client token, encrypted.

user_id instance-attribute

user_id: NotRequired[ParticipantTokenUserId]

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.