Sha256: 6225b4b3a646db979b3e6efdcfcc15599e874ed67262fc7aeff6eb05c0e019b5

Contents?: true

Size: 688 Bytes

Versions: 9

Compression:

Stored size: 688 Bytes

Contents

require 'omniauth/oauth'
require 'multi_json'

module ExvoAuth
  autoload :PathHelpers, 'exvo_auth/path_helpers'
  autoload :Config,      'exvo_auth/config'

  module OAuth2
    module Strategy
      autoload :NonInteractive, 'exvo_auth/oauth2'
    end
  end

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

  module Rails
    autoload :ControllerHelpers, 'exvo_auth/rails/controller_helpers'
  end
end

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
exvo-auth-0.2.2 lib/exvo-auth.rb
exvo-auth-0.2.1 lib/exvo-auth.rb
exvo-auth-0.2.0 lib/exvo-auth.rb
exvo-auth-0.1.7 lib/exvo-auth.rb
exvo-auth-0.1.6 lib/exvo-auth.rb
exvo-auth-0.1.5 lib/exvo-auth.rb
exvo-auth-0.1.4 lib/exvo-auth.rb
exvo-auth-0.1.3 lib/exvo-auth.rb
exvo-auth-0.1.2 lib/exvo-auth.rb