Module Values.GoogleAnalyticsConnectorProfileCredentialsSource

The connector-specific profile credentials required by Google Analytics.

Sourcetype nonrec t = {
  1. clientId : ClientId.t;
    (*

    The identifier for the desired client.

    *)
  2. clientSecret : ClientSecret.t;
    (*

    The client secret used by the OAuth client to authenticate to the authorization server.

    *)
  3. accessToken : AccessToken.t option;
    (*

    The credentials used to access protected Google Analytics resources.

    *)
  4. refreshToken : RefreshToken.t option;
    (*

    The credentials used to acquire new access tokens. This is required only for OAuth2 access tokens, and is not required for OAuth1 access tokens.

    *)
  5. oAuthRequest : ConnectorOAuthRequest.t option;
    (*

    The OAuth requirement needed to request security tokens from the connector endpoint.

    *)
}
Sourceval context_ : string
Sourceval make : ?accessToken:??? -> ?refreshToken:??? -> ?oAuthRequest:??? -> clientId:ClientId.t -> clientSecret:ClientSecret.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ClientId.t | `Structure of (string * [> `String of AuthCode.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