class JWT::Verify
@deprecated This class is deprecated and will be removed in the next major version of ruby-jwt.
Constants
- DEFAULTS
- METHODS
Public Class Methods
Source
# File lib/jwt/verify.rb, line 28 def initialize(payload, options) Deprecations.warning('The ::JWT::Verify class is deprecated and will be removed in the next major version of ruby-jwt') @payload = payload @options = DEFAULTS.merge(options) end
@deprecated This class is deprecated and will be removed in the next major version of ruby-jwt.
Source
# File lib/jwt/verify.rb, line 20 def verify_claims(payload, options) Deprecations.warning('The ::JWT::Verify.verify_claims method is deprecated and will be removed in the next major version of ruby-jwt') ::JWT::Claims.verify!(payload, options) true end
@deprecated This method is deprecated and will be removed in the next major version of ruby-jwt.