class JWT::JWA::None

Implementation of the none algorithm

Public Class Methods

new() click to toggle source
# File lib/jwt/jwa/none.rb, line 9
def initialize
  @alg = 'none'
end

Public Instance Methods

sign(*) click to toggle source
# File lib/jwt/jwa/none.rb, line 13
def sign(*)
  ''
end
verify(*) click to toggle source
# File lib/jwt/jwa/none.rb, line 17
def verify(*)
  true
end