package savvy

  1. Overview
  2. Docs
A straightforward OAuth2 client

Install

Dune Dependency

Authors

Maintainers

Sources

savvy-0.4.0.tbz
sha256=a9e2b62cbf273c881d47d86db243706e41dcf52ce3107288b7edcf61cc53bb10
sha512=2903142b0f64d06c02ab91e3a3545d8e38f0bef34a57e7aa8d97d06f11f12daee43825a4c91afa39f5c6542b61e8bb3a57b1076358031ae74b5d6d0e5944cecd

doc/savvy.github/Github/index.html

Module GithubSource

Sourcetype github_prompt =
  1. | No_Prompt
  2. | Select_Account
  3. | Other of string
Sourcetype github_oauth_config = {
  1. client_id : string;
  2. client_secret : string;
  3. redirect_uri : Json_uri.t;
  4. scope : string list;
  5. login : string option;
  6. allow_signup : bool option;
  7. prompt : github_prompt;
}
Sourceval github_oauth_config_to_yojson : github_oauth_config -> Yojson.Safe.t
Sourcetype token_response = {
  1. access_token : string;
  2. scope : string option;
  3. token_type : string;
}
Sourceval token_response_to_yojson : token_response -> Yojson.Safe.t
Sourcetype config =
  1. | GithubOauthConfig of github_oauth_config
Sourceval config_to_yojson : config -> Yojson.Safe.t
Sourcemodule DefaultInMemoryStorage : sig ... end
Sourcemodule type GITHUB_CLIENT = sig ... end
OCaml

Innovation. Community. Security.