module JWT::JWA::Unsupported

Represents an unsupported algorithm

Public Class Methods

sign(*) click to toggle source
# File lib/jwt/jwa/unsupported.rb, line 10
def sign(*)
  raise_sign_error!('Unsupported signing method')
end
verify(*) click to toggle source
# File lib/jwt/jwa/unsupported.rb, line 14
def verify(*)
  raise JWT::VerificationError, 'Algorithm not supported'
end