Aeacus

A simple, secure, and highly configurable Elixir identity [username | email | id | etc.]/password authentication module to use with Ecto.

Summary

Functions

Decides to use the override_config or application config. The result is merged with the default configuration options specified by Aeacus

Exposes the crypto module’s hashpwsalt function. Used to salt and hash a password

Functions

authenticate(params)
authenticate(params, configuration)
authenticate_resource(resource, password)
authenticate_resource(resource, password, configuration)
config(override_config)

Specs

config(Map.t | nil) :: Map.t

Decides to use the override_config or application config. The result is merged with the default configuration options specified by Aeacus.

hashpwsalt(password)

Exposes the crypto module’s hashpwsalt function. Used to salt and hash a password