sihl.authz
Authz
Authorization deals with the question whether a user is allowed to do something. Use this module to separate the definition of who is allowed to do what from checking it.
sihl
sihl.app
sihl.authn
sihl.cmd
sihl.configuration
sihl.core
sihl.data
sihl.email
sihl.http
sihl.log
sihl.message
sihl.middleware
sihl.queue
sihl.schedule
sihl.seed
sihl.server
sihl.session
sihl.storage
sihl.token
sihl.user
sihl.utils
sihl.web
type guard = bool * string
val authorize : guard -> (unit, string) Result.t
val any : guard list -> string -> (unit, string) Result.t