Raxol.Auth.Plug (Raxol v0.3.0)
View SourcePlug for handling authentication and authorization.
Summary
Functions
Authenticates a user by email and password.
Logs out the current user.
Checks if the current user is logged in.
Functions
Authenticates a user by email and password.
Logs out the current user.
Checks if the current user is logged in.
@spec require_permission( Plug.Conn.t(), atom() | [atom()], atom() | [atom()] ) :: Plug.Conn.t()