package gapi-ocaml

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.4.6.tar.gz
sha256=b84b680528a5e050014103a8e7a60a5d43efd5fefc3f838310bd46769775ab48
md5=8ee26acf1f6c6f5e24c7b57fa070a0a2

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
OCaml

Innovation. Community. Security.