Sourcetype t = {id : string;email : string;username : string option;password : string;status : string;admin : bool;confirmed : bool;created_at : Ptime.t;
} Sourceval username : t -> string option Sourceval make :
id:string ->
email:string ->
?username:string ->
password:string ->
status:string ->
admin:bool ->
confirmed:bool ->
created_at:Ptime.t ->
unit ->
t Sourceval sexp_of_t : t -> Sexplib0.Sexp.t Sourceval set_user_details : t -> email:string -> username:string option -> t Sourceval matches_password : string -> t -> bool Sourceval default_password_policy : string -> (unit, string) result Sourceval create :
email:string ->
password:string ->
username:string option ->
admin:bool ->
confirmed:bool ->
(t, string) result