package erssical

  1. Overview
  2. Docs

Handling authorized query urls.

type t

Authorization structure

val read_auth : string -> t

Return an authorization structure from a file.

val read_if_mod : t -> t

Return the same autorization structure or a new one if the file was modified since it was read.

val url_auth : t -> Uri.t -> bool

Return whether the given URL is authorized or not.

OCaml

Innovation. Community. Security.