Sha256: 8ec0419df84cee013413c4ea3cce75bc8b3f632f1eaba6c7acee32be0c5b3f3c
Contents?: true
Size: 949 Bytes
Versions: 2
Compression:
Stored size: 949 Bytes
Contents
require 'json' require 'logger' require 'rack/oauth2' require 'rack/oauth2/server/id_token_response' module OpenIDConnect def self.logger @@logger end def self.logger=(logger) @@logger = logger end self.logger = Logger.new(STDOUT) self.logger.progname = 'OpenIDConnect' def self.debugging? @@debugging end def self.debugging=(boolean) @@debugging = boolean end def self.debug! Rack::OAuth2.debugging = true self.debugging = true end def self.debug(&block) rack_oauth2_original = Rack::OAuth2.debugging? original = self.debugging? debug! yield ensure Rack::OAuth2.debugging = rack_oauth2_original self.debugging = original end self.debugging = false end require 'openid_connect/exception' require 'openid_connect/client' require 'openid_connect/access_token' require 'openid_connect/response_object' require 'openid_connect/server' require 'openid_connect/discovery'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openid_connect-0.0.19 | lib/openid_connect.rb |
openid_connect-0.0.18 | lib/openid_connect.rb |