Sha256: 0270c76d205fc34c1ce0b0484d3a388084953de72ec8a61f2df9039ccaf3fb04

Contents?: true

Size: 462 Bytes

Versions: 12

Compression:

Stored size: 462 Bytes

Contents

require "wcc/auth"
require "devise"

module WCC
  module Auth
    module Devise
      autoload :WatermarkCallbacksController, 'wcc/auth/devise/watermark_callbacks_controller'
    end
  end
end

WCC::Auth.finalize_callbacks << -> {
  require "omniauth/strategies/watermark"
  Devise.setup do |config|
    config.omniauth :watermark,
      WCC::Auth.config.app_id,
      WCC::Auth.config.app_secret
  end

  OmniAuth.config.full_host = WCC::Auth.config.app_url
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
wcc-auth-0.7.2 lib/wcc/auth/devise.rb
wcc-auth-0.7.1 lib/wcc/auth/devise.rb
wcc-auth-0.7.0 lib/wcc/auth/devise.rb
wcc-auth-0.6.0 lib/wcc/auth/devise.rb
wcc-auth-0.5.0 lib/wcc/auth/devise.rb
wcc-auth-0.4.0 lib/wcc/auth/devise.rb
wcc-auth-0.3.5 lib/wcc/auth/devise.rb
wcc-auth-0.3.4 lib/wcc/auth/devise.rb
wcc-auth-0.3.3 lib/wcc/auth/devise.rb
wcc-auth-0.3.2 lib/wcc/auth/devise.rb
wcc-auth-0.3.1 lib/wcc/auth/devise.rb
wcc-auth-0.3.0 lib/wcc/auth/devise.rb