package gapi-ocaml

  1. Overview
  2. Docs
A simple OCaml client for Google Services

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.4.9.tar.gz
sha256=e189067f3caf58235eee7f3f1b0f051d0192cd012e444c87492b2b502ad7c29c
md5=0f0c17b713f86d91d6be8ddf4a741745

doc/gapi-ocaml/GapiOAuth2/index.html

Module GapiOAuth2Source

OAuth 2.0 authorization API implementation.

Sourceexception AdminPolicyEnforced of GapiConversation.Session.t
Sourceexception DisallowedUserAgent of GapiConversation.Session.t
Sourceexception OrgInternal of GapiConversation.Session.t
Sourceexception DeletedClient of GapiConversation.Session.t
Sourceexception InvalidGrant of GapiConversation.Session.t
Sourceexception RedirectUriMismatch of GapiConversation.Session.t
Sourceexception InvalidRequest of GapiConversation.Session.t
Sourceval parse_error : GapiPipe.OcamlnetPipe.t -> int -> 'a
Sourceval authorization_code_url : ?base_url:string -> ?access_type:string -> ?approval_prompt:string -> ?state:string -> redirect_uri:string -> scope:string list -> response_type:string -> string -> string
Sourceval get_access_token : ?url:string -> ?grant_type:string -> client_id:string -> client_secret:string -> code:string -> redirect_uri:string -> GapiConversation.Session.t -> GapiAuthResponse.t * GapiConversation.Session.t
Sourceval refresh_access_token : ?url:string -> ?grant_type:string -> client_id:string -> client_secret:string -> refresh_token:string -> GapiConversation.Session.t -> GapiAuthResponse.t * GapiConversation.Session.t
Sourceval revoke_token : ?url:string -> refresh_token:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t