Values.ParticipantTokenSourceObject 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.
type nonrec t = {participantId : ParticipantTokenId.t option;Unique identifier for this participant token, assigned by IVS.
*)token : ParticipantTokenString.t option;The issued client token, encrypted.
*)userId : ParticipantTokenUserId.t option;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.
*)attributes : ParticipantTokenAttributes.t option;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.
*)duration : ParticipantTokenDurationMinutes.t option;Duration (in minutes), after which the participant token expires. Default: 720 (12 hours).
*)capabilities : ParticipantTokenCapabilities.t option;Set of capabilities that the user is allowed to perform in the stage.
*)expirationTime : ParticipantTokenExpirationTime.t option;ISO 8601 timestamp (returned as a string) for when this token expires.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Integer of ParticipantTokenDurationMinutes.t
| `List of [> `Enum of string ] list
| `Map of
([> `String of String_.t ] * [> `String of String_.t ]) list
| `String of ParticipantTokenId.t
| `Timestamp of ParticipantTokenExpirationTime.t ])
list ]