class JWT::Decode

def allowed_algorithms

def allowed_algorithms
  if @options.key?(:algorithm)
    [@options[:algorithm]]
  else
    @options[:algorithms] || []
  end
end