lib/doorkeeper-jwt/config.rb in doorkeeper-jwt-0.1.8 vs lib/doorkeeper-jwt/config.rb in doorkeeper-jwt-0.2.0
- old
+ new
@@ -109,9 +109,10 @@
extend Option
option :token_payload,
default: proc{ { token: SecureRandom.method(:hex) } }
+ option :token_headers, default: proc { {} }
option :use_application_secret, default: false
option :secret_key, default: nil
option :secret_key_path, default: nil
option :encryption_method, default: nil