Sha256: 269a7d14d8334d717444eeb43a851b5f25c5cbd4fb606d137cf238a15a50bf8c

Contents?: true

Size: 239 Bytes

Versions: 1

Compression:

Stored size: 239 Bytes

Contents

# frozen_string_literal: true

require_relative 'error'

module JWT
  class ClaimsValidator
    def initialize(payload)
      @payload = payload
    end

    def validate!
      Claims.verify_payload!(@payload, :numeric)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jwt-2.9.2 lib/jwt/claims_validator.rb