View Source AshAuthentication.Strategy.Password.Plug (ash_authentication v4.3.7)

Plugs for the password strategy.

Handles registration, sign-in and password resets.

Summary

Functions

Handle a registration request

Handle a reset request

Handle a reset request request

Handle a sign-in request

Handle a request to validate a sign in token

Functions

register(conn, strategy)

Handle a registration request

reset(conn, strategy)

Handle a reset request

reset_request(conn, strategy)

Handle a reset request request

sign_in(conn, strategy)

Handle a sign-in request

sign_in_with_token(conn, strategy)

@spec sign_in_with_token(Plug.Conn.t(), AshAuthentication.Strategy.Password.t()) ::
  Plug.Conn.t()

Handle a request to validate a sign in token