package savvy

  1. Overview
  2. Docs

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.