Sha256: 2c8c78113bf9c600dc907658b07dc91918377b114d90ec50a178f22075f1bafd

Contents?: true

Size: 1.1 KB

Versions: 3

Compression:

Stored size: 1.1 KB

Contents

require 'oauth2'
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'
    autoload :Http,     'exvo_auth/autonomous/http'
  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

3 entries across 3 versions & 1 rubygems

Version Path
exvo-auth-0.8.2 lib/exvo-auth.rb
exvo-auth-0.8.0 lib/exvo-auth.rb
exvo-auth-0.7.16 lib/exvo-auth.rb