package github-unix

  1. Overview
  2. Docs
type t
val of_code : client_id:string -> client_secret:string -> code:string -> unit -> t option Lwt.t
val create : ?scopes:Github_t.scope list -> ?note:string -> ?note_url:string -> ?client_id:string -> ?client_secret:string -> ?fingerprint:string -> ?otp:string -> user:string -> pass:string -> unit -> Github_t.auth authorization Response.t Monad.t
val get_all : ?otp:string -> user:string -> pass:string -> unit -> Github_t.auths authorization Response.t Monad.t
val get : ?otp:string -> user:string -> pass:string -> id:int64 -> unit -> Github_t.auth option authorization Response.t Monad.t
val delete : ?otp:string -> user:string -> pass:string -> id:int64 -> unit -> unit authorization Response.t Monad.t
val of_auth : Github_t.auth -> t
val of_string : string -> t
val to_string : t -> string
OCaml

Innovation. Community. Security.