Module Values.CredentialSource

Contains credential information for an application.

Sourcetype nonrec t = {
  1. oauth2Credential : Oauth2Credential.t option;
    (*

    Contains OAuth2 client credential information.

    *)
  2. apiKeyCredential : ApiKeyCredential.t option;
    (*

    Contains API key credential information.

    *)
}
Sourceval make : ?oauth2Credential:??? -> ?apiKeyCredential:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of String2048.t ]) list ]) 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