Sha256: 169f7a5f64b4f418c6e02df206f3559fe6733e8892b00695af98a9d8c88ca602
Contents?: true
Size: 341 Bytes
Versions: 3
Compression:
Stored size: 341 Bytes
Contents
# frozen_string_literal: true module JWT module JWA # Implementation of the none algorithm 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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
minato_ruby_api_client-0.2.2 | vendor/bundle/ruby/3.2.0/gems/jwt-2.10.1/lib/jwt/jwa/none.rb |
jwt-2.10.1 | lib/jwt/jwa/none.rb |
jwt-2.10.0 | lib/jwt/jwa/none.rb |