RubyGems Navigation menu

slots-jwt 0.1.1

Token Authentication for Rails using JWT. Slots is designed to keep JWT stateless and minimize database calls. This is done by storing (none sensitive) data in the JWT and populating current_user with the JWT data. This allows for things like `current_user.teams` or other assocations to be called on the user. Unless explicitly told slots will only load the user from the database when creating (or updating an expired) token.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.1 - April 18, 2020 (19.5 KB)
  2. 0.1.0 - November 01, 2019 (19 KB)
  3. 0.0.4 - August 26, 2019 (17.5 KB)

Runtime Dependencies (3):

bcrypt ~> 3.1.7
jwt ~> 2.1.0
rails ~> 5.0

Development Dependencies (1):

sqlite3 >= 0

Owners:

Pushed by:

Authors:

  • Jonathon Gardner

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 5,476

For this version 1,875

License:

MIT

Required Ruby Version: >= 0

Links: