package sihl-web

  1. Overview
  2. Docs

Module Sihl_web.CsrfSource

Sourceexception Crypto_failed of string
Sourceexception Csrf_token_not_found
Sourceval find : Rock.Request.t -> string
Sourceval find_opt : Rock.Request.t -> string option
Sourceval xor : char list -> char list -> char list option
Sourceval decrypt_with_salt : salted_cipher:char list -> salt_length:int -> char list option
Sourceval middleware : ?not_allowed_handler:(Rock.Request.t -> Rock.Response.t Lwt.t) -> ?key:string -> unit -> Rock.Middleware.t
OCaml

Innovation. Community. Security.