Sha256: f5ada7ac1961d5971d970b60295332843f4bf8604bb0be272ee4f12bbf51c31b

Contents?: true

Size: 335 Bytes

Versions: 4

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

module JWT
  module JWA
    module Unsupported
      module_function

      SUPPORTED = [].freeze

      def sign(*)
        raise NotImplementedError, 'Unsupported signing method'
      end

      def verify(*)
        raise JWT::VerificationError, 'Algorithm not supported'
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/jwt-2.8.2/lib/jwt/jwa/unsupported.rb
jwt-2.8.2 lib/jwt/jwa/unsupported.rb
jwt-2.8.1 lib/jwt/jwa/unsupported.rb
jwt-2.8.0 lib/jwt/jwa/unsupported.rb