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.authn
sihl.core
sihl.database
sihl.email
sihl.http
sihl.message
sihl.middleware
sihl.migration
sihl.password-reset
sihl.queue
sihl.repository
sihl.schedule
sihl.session
sihl.storage
sihl.token
sihl.user
sihl.utils
type guard = bool * string
val authorize : guard -> (unit, string) Result.t
val any : guard list -> string -> (unit, string) Result.t