curator v0.3.4 Curator.Lockable View Source

TODO

Options:

  • maximum_attemps (optional) default: 5
  • unlock_strategy (optional) default: []
  • unlock_in (optional) default: 6 hours

Extensions:

N/A

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_password_recovery(mod, user) View Source
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 after_ueberauth_find_user(mod, user) View Source
Link to this function after_verify_password_failure(mod, user) View Source
Link to this function after_verify_password_success(mod, user) View Source
Link to this function authenticated_routes(mod) View Source

Callback implementation for Curator.Extension.authenticated_routes/1.

Link to this function process_token(mod, token_id) View Source
Link to this function unauthenticated_routes(mod) View Source

Callback implementation for Curator.Extension.unauthenticated_routes/1.

Link to this function verify_unlocked(mod, user) View Source