Module MariaDb.Web

val user_from_token : ?⁠ctx:(string * string) list -> ?⁠key:string -> (?⁠ctx:(string * string) list -> string -> k:string -> string option Lwt.t) -> Rock.Request.t -> Sihl.Contract.User.t option Lwt.t
val user_from_session : ?⁠ctx:(string * string) list -> ?⁠cookie_key:string -> ?⁠secret:string -> ?⁠key:string -> Rock.Request.t -> Sihl.Contract.User.t option Lwt.t