RubyGems Navigation menu

easy_jwt_auth 0.1.1

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.

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

バージョン履歴:

  1. 0.1.1 - April 19, 2017 (10.5KB)
  2. 0.1.0 - April 19, 2017 (10.5KB)

Runtime依存関係 (1):

jwt ~> 1.5

Development依存関係 (3):

bundler ~> 1.12
rake ~> 10.0
rspec ~> 3.5

所有者:

作者:

  • Pantelis Vratsalis

SHA 256チェックサム:

4de3f47bf8681ed324526394e1b9a002e23d9c05682813c791928202dcc7bbe9

累計ダウンロード数 4,163

このバージョンのみ 2,397

ライセンス:

MIT

必要なRubyのバージョン: >= 0

リンク: