Sha256: 5554f79694987e7290fda27a4760d65c21eb1c46f5d44d9b015c9eefe51dc775

Contents?: true

Size: 361 Bytes

Versions: 4

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

module JWT
  module JWA
    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

4 entries across 4 versions & 1 rubygems

Version Path
jwt-2.9.3 lib/jwt/jwa/unsupported.rb
jwt-2.9.2 lib/jwt/jwa/unsupported.rb
jwt-2.9.1 lib/jwt/jwa/unsupported.rb
jwt-2.9.0 lib/jwt/jwa/unsupported.rb