Module Values_1.CredentialsSource

Contains credentials to use for federation.

Sourcetype nonrec t = {
  1. accessToken : SecurityToken.t option;
    (*

    An access token generated for a federated user to access Amazon Connect.

    *)
  2. accessTokenExpiration : string option;
    (*

    A token generated with an expiration time for the session a user is logged in to Amazon Connect.

    *)
  3. refreshToken : SecurityToken.t option;
    (*

    Renews a token generated for a user to access the Amazon Connect instance.

    *)
  4. refreshTokenExpiration : string option;
    (*

    Renews the expiration timer for a generated token.

    *)
}
Sourceval make : ?accessToken:??? -> ?accessTokenExpiration:??? -> ?refreshToken:??? -> ?refreshTokenExpiration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SecurityToken.t | `Timestamp of string ]) 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