Registry / auth / json-jwt

json-jwt

JSON →
library1.17.1rbrubygemsunverified

JSON Web Token and its family (JSON Web Signature, JSON Web Encryption and JSON Web Key) in Ruby.

gem install json-jwt
INSTALL
IMPORT
SIG · JSON-JWT
J
json-jwt
authrubyv1.17.1
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.

JSON::JWT
require 'json/jwt'

Create and encode a simple JWT.

require 'json/jwt' token = JSON::JWT.new({sub: '1234567890', name: 'John Doe'}) puts token.to_s
Debug
Known issues
breakingRequires Ruby 2.5 or higher.
fix
Upgrade Ruby to version 2.5 or later.
affects: < 1.17.0
Upgrade
Version history
1.17.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
json-jwt — gem install json-jwt · libregistry