Overview:
The RailsJwtAuthGem is a Rails-API authentication solution based on JWT and inspired by Devise. This documentation focuses on version 2.x of the gem, which introduces incompatible API changes. The gem provides various features to configure authentication, handle controllers, customize payloads, and more.
Features:
- Configuration: Edit options in the rails_jwt_auth.rb file created by the generator.
- Modules: Provides various modules for different functionalities.
- ORMs Support: Supports different Object-Relational Mapping systems.
- Controller Helpers: Includes helper methods for controllers.
- Default Controllers API: Pre-built controllers for common authentication operations.
- Customize Controllers: Allows customization of controllers.
- Payload Responses: Customize the JWT payloads returned.
- Strong Parameters: Secure user input validation using strong parameters.