curator v0.3.4 Curator.DatabaseAuthenticatable View Source

TODO

Options:

  • curator (required)
  • crypto_mod (optional) default: Bcrypt

Extensions:

  • after_verify_password_failure (called after each incorrect password attempt)

Link to this section Summary

Link to this section Functions

Link to this function active_for_authentication?(mod, user) View Source

Callback implementation for Curator.Extension.active_for_authentication?/2.

Link to this function after_sign_in(mod, conn, user, opts) View Source

Callback implementation for Curator.Extension.after_sign_in/4.

Link to this function authenticate_user(mod, map) View Source
Link to this function authenticated_routes(mod) View Source

Callback implementation for Curator.Extension.authenticated_routes/1.

Link to this function create_changeset(mod, user, attrs) View Source
Link to this function put_password_hash(changeset, mod) View Source
Link to this function unauthenticated_routes(mod) View Source

Callback implementation for Curator.Extension.unauthenticated_routes/1.

Link to this function update_changeset(mod, user, attrs) View Source