Module Credentials.Refresh_token

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 Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t