View Source AshAuthentication.Strategy.Password.Plug (ash_authentication v3.11.10)

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

Link to this function

register(conn, strategy)

View Source

Handle a registration request

Handle a reset request

Link to this function

reset_request(conn, strategy)

View Source

Handle a reset request request

Handle a sign-in request

Link to this function

sign_in_with_token(conn, strategy)

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

Handle a request to validate a sign in token