Sha256: de9efb151b38c588da4289703d071b92e3dc14b1311d51ce547e90bb4e9b1670
Contents?: true
Size: 937 Bytes
Versions: 2
Compression:
Stored size: 937 Bytes
Contents
require 'omniauth/oauth' require 'multi_json' require 'httparty' 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 :Consumer, 'exvo_auth/autonomous/consumer' autoload :Provider, 'exvo_auth/autonomous/provider' autoload :Cache, 'exvo_auth/autonomous/cache' 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.6.1 | lib/exvo-auth.rb |
exvo-auth-0.6.0 | lib/exvo-auth.rb |