Module Values.ExchangedParticipantTokenSource

Object specifying an exchanged participant token in a stage, created when an original participant token is updated. Important: Treat tokens as opaque; i.e., do not build functionality based on token contents. The format of tokens could change in the future.

Sourcetype nonrec t = {
  1. capabilities : ParticipantTokenCapabilities.t option;
    (*

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

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

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

    *)
  4. expirationTime : ParticipantTokenExpirationTime.t option;
    (*

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

    *)
}
Sourceval make : ?capabilities:??? -> ?attributes:??? -> ?userId:??? -> ?expirationTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string ] list | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of ParticipantTokenUserId.t | `Timestamp of ParticipantTokenExpirationTime.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