package guardian

  1. Overview
  2. Docs
module Authorizable : sig ... end
val find : ?ctx:(string * string) list -> 'kind -> Uuid.Actor.t -> ('kind authorizable, string) monad
val find_roles : ?ctx:(string * string) list -> Uuid.Actor.t -> (actor_role_set, string) monad
val find_rules : ?ctx:(string * string) list -> target_spec -> (auth_rule list, string) monad
val find_owner : ?ctx:(string * string) list -> Uuid.Actor.t -> (Uuid.Actor.t option, string) monad
val save_rule : ?ctx:(string * string) list -> auth_rule -> (unit, string) monad
val delete_rule : ?ctx:(string * string) list -> auth_rule -> (unit, string) monad
val grant_roles : ?ctx:(string * string) list -> Uuid.Actor.t -> actor_role_set -> (unit, string) monad
val revoke_roles : ?ctx:(string * string) list -> Uuid.Actor.t -> actor_role_set -> (unit, string) monad
val save_owner : ?ctx:(string * string) list -> ?owner:Uuid.Actor.t -> Uuid.Actor.t -> (unit, string) monad
OCaml

Innovation. Community. Security.