Sha256: 19175eef9cb1f384ce20503893fdcaa89b50995ea305913faf720d6dc29d4c06
Contents?: true
Size: 552 Bytes
Versions: 3
Compression:
Stored size: 552 Bytes
Contents
# frozen_string_literal: true module JWT # @deprecated Use `Claims.verify_payload!` directly instead. class ClaimsValidator # @deprecated Use `Claims.verify_payload!` directly instead. def initialize(payload) Deprecations.warning('The ::JWT::ClaimsValidator class is deprecated and will be removed in the next major version of ruby-jwt') @payload = payload end # @deprecated Use `Claims.verify_payload!` directly instead. def validate! Claims.verify_payload!(@payload, :numeric) true end end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
minato_ruby_api_client-0.2.2 | vendor/bundle/ruby/3.2.0/gems/jwt-2.10.1/lib/jwt/claims_validator.rb |
jwt-2.10.1 | lib/jwt/claims_validator.rb |
jwt-2.10.0 | lib/jwt/claims_validator.rb |