Sha256: a14ddd38255d1d936b04f1bd8c946958f355ed16ba249f27fe04660a8b109e3d
Contents?: true
Size: 1019 Bytes
Versions: 1
Compression:
Stored size: 1019 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) Rack::OAuth2.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' require 'openid_connect/debugger'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openid_connect-0.0.20 | lib/openid_connect.rb |