Module: JWT::JWA::Unsupported
- Extended by:
- SigningAlgorithm
- Defined in:
- lib/jwt/jwa/unsupported.rb
Instance Attribute Summary
Attributes included from SigningAlgorithm
Class Method Summary collapse
Methods included from SigningAlgorithm
header, included, raise_sign_error!, raise_verify_error!, sign, valid_alg?, verify
Class Method Details
.sign ⇒ Object
9 10 11 |
# File 'lib/jwt/jwa/unsupported.rb', line 9 def sign(*) raise_sign_error!('Unsupported signing method') end |
.verify ⇒ Object
13 14 15 |
# File 'lib/jwt/jwa/unsupported.rb', line 13 def verify(*) raise JWT::VerificationError, 'Algorithm not supported' end |