package gapi-ocaml

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.4.8.tar.gz
sha256=5cc769af46198deb88707ccb50398088316e60f51db8c36389e6a2aae4c2ad30
md5=d918a22fde1b1d49a9783fb2f932d059

doc/gapi-ocaml/GapiOAuth2Devices/index.html

Module GapiOAuth2DevicesSource

OAuth2 for TV and limited devices.

Sourcemodule AuthorizationCode : sig ... end
Sourceval request_code : ?url:string -> client_id:string -> scope:string list -> GapiConversation.Session.t -> AuthorizationCode.t * GapiConversation.Session.t
Sourceexception AccessDenied of GapiConversation.Session.t
Sourceexception AuthorizationPending of GapiConversation.Session.t
Sourceexception SlowDown of GapiConversation.Session.t
Sourceexception InvalidClient of GapiConversation.Session.t
Sourceexception InvalidGrant of GapiConversation.Session.t
Sourceexception InvalidRequest of GapiConversation.Session.t
Sourceexception UnsupportedGrantType of GapiConversation.Session.t
Sourceval get_access_token : ?url:string -> ?grant_type:string -> client_id:string -> client_secret:string -> device_code:string -> GapiConversation.Session.t -> GapiAuthResponse.t * GapiConversation.Session.t
Sourceval poll_authorization_server : ?url:string -> ?grant_type:string -> client_id:string -> client_secret:string -> authorization_code:AuthorizationCode.t -> GapiConversation.Session.t -> GapiAuthResponse.t * GapiConversation.Session.t