Categories: None [Edit]

easy_jwt_auth

https://rubygems.org/gems/easy_jwt_auth
https://github.com/m1lt0n/easy_jwt_auth
A typical usecase of JWT tokens is when building an API. JWT tokens can be sent as authorization tokens in headers. The advantage of using JWT tokens is that they are signed with a secret, so the information inside them cannot be tampered. This makes them ideal for embeding both authentication and authorization information in one step (e.g. by "decoding" the token, one can get information about the user and the roles a user has in case of a role-based authorization). Also, the fact that expiration timestamps can be embedded in the data of the token and be handled automatically, can be used to easily build short-lived tokens, making an API more secure.

Total

Ranking: 129,376 of 180,534
Downloads: 4,165

Daily

Ranking: 57,074 of 180,529
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
12,085,680,397bundler
16856,806,105rake
23769,475,710rspec
48487,189,252jwt

Owners

#GravatarHandle
1iconpvratsalis