ash v0.1.3 Ash.Engine.Authorizer behaviour View Source
Link to this section Summary
Link to this section Types
Link to this section Functions
Link to this section Callbacks
Link to this callback
check(state, context)
View Sourcecheck(state(), context()) :: :authorized | {:data, [Ash.record()]} | {:error, Ash.error()}
Link to this callback
initial_state(arg1, arg2, arg3, boolean)
View Sourceinitial_state(Ash.resource(), Ash.actor(), Ash.action(), boolean()) :: state()