package reddit_api_async

  1. Overview
  2. Docs

Refresh_token credentials correspond to Reddit's "web app" and "installed-app" app types.

type t = {
  1. client_id : string;
  2. client_secret : string option;
    (*

    This field is present for web apps and absent for installed apps.

    *)
  3. refresh_token : string;
}
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
OCaml

Innovation. Community. Security.