Sha256: d901f3d91d7f0173c611cd94116947c8e53391ba3179de44bd7b8a881b4e30ab

Contents?: true

Size: 1.03 KB

Versions: 2

Compression:

Stored size: 1.03 KB

Contents

require 'omniauth/oauth'
require 'multi_json'
require 'httparty'
require 'uri'

module ExvoAuth
  autoload :Config, 'exvo_auth/config'
  
  module Strategies
    autoload :Base,           'exvo_auth/strategies/base'
    autoload :Interactive,    'exvo_auth/strategies/interactive'
    autoload :NonInteractive, 'exvo_auth/strategies/non_interactive'
  end

  module Controllers
    autoload :Base,  'exvo_auth/controllers/base'
    autoload :Rails, 'exvo_auth/controllers/rails'
    autoload :Merb,  'exvo_auth/controllers/merb'
  end
  
  module Autonomous
    autoload :Base,     'exvo_auth/autonomous/base'
    autoload :Consumer, 'exvo_auth/autonomous/consumer'
    autoload :Provider, 'exvo_auth/autonomous/provider'
    autoload :Cache,    'exvo_auth/autonomous/cache'
    autoload :Auth,     'exvo_auth/autonomous/auth'
  end
  
  module OAuth2
    module Strategy
      autoload :NonInteractive, 'exvo_auth/oauth2'
    end
  end
end

OAuth2::Client.class_eval do
  def non_interactive; ExvoAuth::OAuth2::Strategy::NonInteractive.new(self) end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
exvo-auth-0.7.3 lib/exvo-auth.rb
exvo-auth-0.7.2 lib/exvo-auth.rb