View Source AshAuthentication.Strategy.Password.Plug (ash_authentication v4.2.5)
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
@spec register(Plug.Conn.t(), AshAuthentication.Strategy.Password.t()) :: Plug.Conn.t()
Handle a registration request
@spec reset(Plug.Conn.t(), AshAuthentication.Strategy.Password.t()) :: Plug.Conn.t()
Handle a reset request
@spec reset_request(Plug.Conn.t(), AshAuthentication.Strategy.Password.t()) :: Plug.Conn.t()
Handle a reset request request
@spec sign_in(Plug.Conn.t(), AshAuthentication.Strategy.Password.t()) :: Plug.Conn.t()
Handle a sign-in request
@spec sign_in_with_token(Plug.Conn.t(), AshAuthentication.Strategy.Password.t()) :: Plug.Conn.t()
Handle a request to validate a sign in token