Sha256: 35b4c61055dc52365094f5ea8a0143fa2534bf3db6eb0f418590b6e6cede21e1
Contents?: true
Size: 298 Bytes
Versions: 4
Compression:
Stored size: 298 Bytes
Contents
# frozen_string_literal: true module JWT module JWA class None include JWT::JWA::SigningAlgorithm def initialize @alg = 'none' end def sign(*) '' end def verify(*) true end register_algorithm(new) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
jwt-2.9.3 | lib/jwt/jwa/none.rb |
jwt-2.9.2 | lib/jwt/jwa/none.rb |
jwt-2.9.1 | lib/jwt/jwa/none.rb |
jwt-2.9.0 | lib/jwt/jwa/none.rb |