Module Values.ParticipantTokenConfigurationSource

Object specifying a participant token configuration in a stage.

Sourcetype nonrec t = {
  1. duration : ParticipantTokenDurationMinutes.t option;
    (*

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

    *)
  2. 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.

    *)
  3. attributes : ParticipantTokenAttributes.t option;
    (*

    Application-provided attributes to encode into the corresponding participant 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.

    *)
  4. capabilities : ParticipantTokenCapabilities.t option;
    (*

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

    *)
}
Sourceval make : ?duration:??? -> ?userId:??? -> ?attributes:??? -> ?capabilities:??? -> unit -> t
Sourceval 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 ParticipantTokenUserId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t