curator v0.3.4 Curator View Source
Link to this section Summary
Functions
Verify a user is active for authentication
apply aftersign_in to _all modules
Call a changeset on all modules
Call an extension on all modules
Apply fun to each module (until one fails).
The fun must return :ok, or {:error, error}
Link to this section Functions
Verify a user is active for authentication.
This will return :ok, or {:error, error}. The first error encountered will be returned, so the module order is important.
apply aftersign_in to _all modules
Call a changeset on all modules
Similar to an extension, this accumulates a changeset across various implementations
Call an extension on all modules
This provides a way to coordinate actions between the modules, without them knowing about eachother directly. Each module can have verious extensions it broadcasts. The other modules decide if they’ll listen…
Apply fun to each module (until one fails).
The fun must return :ok, or {:error, error}
TODO: Change this function name…