# File lib/openid_connect/jwtnizable.rb, line 3 def to_jwt(key, algorithm = :RS256, &block) as_jwt(key, algorithm, &block).to_s end