Sha256: 1496bae9878c702c540105b6fa99e286ea4491300c8ccc08a2f557a2a060e8dd

Contents?: true

Size: 403 Bytes

Versions: 3

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

module JWT
  module JWA
    # Represents an unsupported algorithm
    module Unsupported
      class << self
        include JWT::JWA::SigningAlgorithm

        def sign(*)
          raise_sign_error!('Unsupported signing method')
        end

        def verify(*)
          raise JWT::VerificationError, 'Algorithm not supported'
        end
      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/jwa/unsupported.rb
jwt-2.10.1 lib/jwt/jwa/unsupported.rb
jwt-2.10.0 lib/jwt/jwa/unsupported.rb