package sihl-web

  1. Overview
  2. Docs
val find_opt : Rock.Request.t -> Sihl_contract.User.t option
val session_middleware : ?key:string -> unit -> Rock.Middleware.t
val token_middleware : ?invalid_token_handler:(Rock.Request.t -> Rock.Response.t Lwt.t) -> unit -> Rock.Middleware.t
OCaml

Innovation. Community. Security.