Sha256: 691b91e4b4402208fc424c22d85f7e730c949887d7241910558823944a22992f

Contents?: true

Size: 379 Bytes

Versions: 3

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module JWT
  module Claims
    # @api private
    module VerificationMethods
      def verify_claims!(*options)
        Verifier.verify!(self, *options)
      end

      def claim_errors(*options)
        Verifier.errors(self, *options)
      end

      def valid_claims?(*options)
        claim_errors(*options).empty?
      end
    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/verification_methods.rb
jwt-2.10.1 lib/jwt/claims/verification_methods.rb
jwt-2.10.0 lib/jwt/claims/verification_methods.rb