package sihl-user

  1. Overview
  2. Docs
val user_from_token : ?key:string -> (string -> k:string -> string option Lwt.t) -> Rock.Request.t -> Sihl__Contract_user.t option Lwt.t
val user_from_session : ?cookie_key:string -> ?secret:string -> ?key:string -> Rock.Request.t -> Sihl__Contract_user.t option Lwt.t
OCaml

Innovation. Community. Security.