Registry / auth / json-web-token

json-web-token

JSON →
library0.3.5rbrubygemsunverified

Ruby implementation of the JSON Web Token (JWT) standard, RFC 7519.

gem install json_web_token
INSTALL
IMPORT
SIG · JSON-WEB-TOKEN
J
json-web-token
authrubyv0.3.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

JSONWebToken
require 'json_web_token'

Encodes and decodes a JWT.

require 'json_web_token' token = JSONWebToken.encode({user_id: 1}, 'secret') payload = JSONWebToken.decode(token, 'secret') puts payload['user_id']
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
Resources
json-web-token — gem install json-web-token · libregistry