lib/json/jwt.rb in json-jwt-1.14.0 vs lib/json/jwt.rb in json-jwt-1.15.0
- old
+ new
@@ -1,13 +1,18 @@
require 'openssl'
require 'base64'
+require 'httpclient'
require 'active_support'
require 'active_support/core_ext'
require 'json/jose'
module JSON
class JWT < ActiveSupport::HashWithIndifferentAccess
+ VERSION = ::File.read(
+ ::File.join(::File.dirname(__FILE__), '../../VERSION')
+ ).chomp
+
attr_accessor :blank_payload
attr_accessor :signature
class Exception < StandardError; end
class InvalidFormat < Exception; end
@@ -130,5 +135,7 @@
require 'json/jws'
require 'json/jwe'
require 'json/jwk'
require 'json/jwk/jwkizable'
require 'json/jwk/set'
+require 'json/jwk/set/fetcher'
+require 'json/jwk/set/fetcher/debugger/request_filter'
\ No newline at end of file