package ez_api
Module EzSessionServerSource
Returns random challenge 30 characters long
Module that defines a way to store user's sessions.
Main argument for Make functor. Specifies session's and user's storage and session main configurations.
Source
val default_check_foreign :
origin:string ->
token:string ->
(_, int * string option) result Lwt.tNot implemented search for foreign user.
Source
val default_register_foreign :
origin:string ->
token:string ->
(_, int * string option) result Lwt.tNot implemented registration for foreign user.
Main functor that defines handlers for authentication services.
Exception when trying to create user that already exists.
Exception when trying to create non-foreign user without password.
Source
module UserStoreInMemory
(S : EzSession.TYPES.SessionArg with type user_id = string) :
sig ... endUser storage located in the memory of the server.
Implementation of session store in the server's memory.