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: 133,248 of 197,517
Downloads: 5,058

Daily

Ranking: 45,956 of 197,483
Downloads: 1

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,845,795,181bundler
81,440,404,980rake
291,030,227,114rspec
41827,542,796jwt

Owners

#GravatarHandle
1iconpvratsalis