package ez_api

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val find_user : login:string -> (string option * SessionArg.user_id * SessionArg.user_info) option Lwt.t

Searches for user with given login and returns its password, if defined, its id and its information.

val check_foreign : origin:string -> token:string -> (string, int * string option) Stdlib.result Lwt.t

Checks for foreign user. If exists, returns its login. Otherwise returns an error number with an error message.

val register_foreign : origin:string -> token:string -> (SessionArg.user_id * SessionArg.user_info option, int * string option) Stdlib.result Lwt.t

Registers foreign user.

OCaml

Innovation. Community. Security.