Exop v0.5.1 Exop.Policy behaviour View Source

Provides macros for policy validation.

Link to this section Summary

Callbacks

Authorizes the possibility to invoke an action

Link to this section Types

Link to this type t() View Source
t() :: Exop.Policy

Link to this section Callbacks

Link to this callback authorize(atom, any, arg2) View Source
authorize(atom(), any(), Keyword.t()) :: true | false

Authorizes the possibility to invoke an action.