package ocsigen-start

  1. Overview
  2. Docs
type sms_error_core = [
  1. | `Invalid_number
  2. | `Limit
  3. | `Send
  4. | `Unknown
]
type sms_error = [
  1. | `Invalid_number
  2. | `Limit
  3. | `Ownership
  4. | `Send
  5. | `Unknown
]
val request_code : string -> (unit, sms_error) result Lwt.t
val request_recovery_code : string -> (unit, sms_error) result Lwt.t
val confirm_code_extra : string -> bool Lwt.t
val confirm_code_signup : first_name:string -> last_name:string -> code:string -> password:string -> unit -> bool Lwt.t
val confirm_code_recovery : string -> bool Lwt.t
val connect : keepmeloggedin:bool -> password:string -> string -> [ `Login_ok | `No_such_user | `Password_not_set | `Wrong_password ] Lwt.t