package guardian

  1. Overview
  2. Docs
include module type of Repo.Actor
val find_roles : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> (role_set, string) monad
val find_owner : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> (Guardian__.Uuid.Actor.t option, string) monad
val grant_roles : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> role_set -> (unit, string) monad
val revoke_roles : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> role_set -> (unit, string) monad
val save_owner : ?ctx:(string * string) list -> ?owner:Guardian__.Uuid.Actor.t -> Guardian__.Uuid.Actor.t -> (unit, string) monad
val create : ?ctx:(string * string) list -> ?owner:Guardian__.Uuid.Actor.t -> role_set -> Guardian__.Uuid.Actor.t -> (unit, string) monad
val mem : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> (bool, string) monad
val revoke_role : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> roles -> (unit, string) monad
val find_roles_exn : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> role_set Lwt.t
val find : ?ctx:(string * string) list -> 'kind -> Guardian__.Uuid.Actor.t -> ('kind actor, string) monad
val decorate : ?ctx:(string * string) list -> ('a -> 'kind actor) -> 'a -> ('kind actor, string) monad
OCaml

Innovation. Community. Security.