├── .gitignore ├── .rspec ├── Gemfile ├── Gemfile.lock ├── LICENSE ├── README.md ├── Rakefile ├── app └── controllers │ └── jwt_authentication │ ├── concerns │ └── jwt_controller_helpers.rb │ ├── confirmations_controller.rb │ ├── passwords_controller.rb │ ├── registrations_controller.rb │ └── sessions_controller.rb ├── doc └── .gitkeep ├── jwt_authentication.gemspec └── lib ├── generators ├── active_record │ ├── jwt_authentication_generator.rb │ └── templates │ │ └── migration.rb ├── jwt_authentication │ ├── initialize_generator.rb │ ├── jwt_authentication_generator.rb │ ├── orm_helpers.rb │ └── setup_generator.rb └── templates │ └── jwt_authentication.rb ├── jwt_authentication.rb └── jwt_authentication ├── acts_as_jwt_authenticatable.rb ├── acts_as_jwt_authentication_handler.rb ├── adapter.rb ├── adapters ├── active_record_adapter.rb ├── mongoid_adapter.rb ├── rails_adapter.rb └── rails_api_adapter.rb ├── configuration.rb ├── devise.rb ├── engine.rb ├── entities_manager.rb ├── entity.rb ├── exceptions.rb ├── jwt_authentication_handler.rb ├── sign_in_handler.rb ├── token_generator.rb └── version.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --format documentation 3 | --order rand 4 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/Rakefile -------------------------------------------------------------------------------- /app/controllers/jwt_authentication/concerns/jwt_controller_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/app/controllers/jwt_authentication/concerns/jwt_controller_helpers.rb -------------------------------------------------------------------------------- /app/controllers/jwt_authentication/confirmations_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/app/controllers/jwt_authentication/confirmations_controller.rb -------------------------------------------------------------------------------- /app/controllers/jwt_authentication/passwords_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/app/controllers/jwt_authentication/passwords_controller.rb -------------------------------------------------------------------------------- /app/controllers/jwt_authentication/registrations_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/app/controllers/jwt_authentication/registrations_controller.rb -------------------------------------------------------------------------------- /app/controllers/jwt_authentication/sessions_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/app/controllers/jwt_authentication/sessions_controller.rb -------------------------------------------------------------------------------- /doc/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jwt_authentication.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/jwt_authentication.gemspec -------------------------------------------------------------------------------- /lib/generators/active_record/jwt_authentication_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/generators/active_record/jwt_authentication_generator.rb -------------------------------------------------------------------------------- /lib/generators/active_record/templates/migration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/generators/active_record/templates/migration.rb -------------------------------------------------------------------------------- /lib/generators/jwt_authentication/initialize_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/generators/jwt_authentication/initialize_generator.rb -------------------------------------------------------------------------------- /lib/generators/jwt_authentication/jwt_authentication_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/generators/jwt_authentication/jwt_authentication_generator.rb -------------------------------------------------------------------------------- /lib/generators/jwt_authentication/orm_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/generators/jwt_authentication/orm_helpers.rb -------------------------------------------------------------------------------- /lib/generators/jwt_authentication/setup_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/generators/jwt_authentication/setup_generator.rb -------------------------------------------------------------------------------- /lib/generators/templates/jwt_authentication.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/generators/templates/jwt_authentication.rb -------------------------------------------------------------------------------- /lib/jwt_authentication.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/acts_as_jwt_authenticatable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/acts_as_jwt_authenticatable.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/acts_as_jwt_authentication_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/acts_as_jwt_authentication_handler.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/adapter.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/adapters/active_record_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/adapters/active_record_adapter.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/adapters/mongoid_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/adapters/mongoid_adapter.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/adapters/rails_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/adapters/rails_adapter.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/adapters/rails_api_adapter.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/adapters/rails_api_adapter.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/configuration.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/configuration.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/devise.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/devise.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/engine.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/entities_manager.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/entities_manager.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/entity.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/entity.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/exceptions.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/exceptions.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/jwt_authentication_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/jwt_authentication_handler.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/sign_in_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/sign_in_handler.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/token_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brocoders/jwt_authentication/HEAD/lib/jwt_authentication/token_generator.rb -------------------------------------------------------------------------------- /lib/jwt_authentication/version.rb: -------------------------------------------------------------------------------- 1 | module JwtAuthentication 2 | VERSION = '0.0.7' 3 | end 4 | --------------------------------------------------------------------------------