Module Values_0.ParticipantTokenCredentialsSource

The credentials used by the participant.

Sourcetype nonrec t = {
  1. participantToken : ParticipantToken.t option;
    (*

    The token used by the chat participant to call CreateParticipantConnection. The participant token is valid for the lifetime of a chat participant.

    *)
  2. expiry : ISO8601Datetime.t option;
    (*

    The expiration of the token. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.

    *)
}
Sourceval make : ?participantToken:??? -> ?expiry:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ParticipantToken.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