Sha256: fc2ab47c78e8d8b83b55031af95bcac7af1a8e5b490a02e75a6f05ee0956007d

Contents?: true

Size: 356 Bytes

Versions: 4

Compression:

Stored size: 356 Bytes

Contents

require 'omniauth/openid'

module OmniAuth
  module Strategies
    class GoogleApps < OmniAuth::Strategies::OpenID
      def initialize(app, store = nil, options = {})
        options[:name] ||= 'google_apps'
        super(app, store, options)
      end
      
      def identifier
        options[:domain] || request['domain']
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
oa-openid-0.1.1 lib/omniauth/strategies/google_apps.rb
oa-openid-0.1.0 lib/omniauth/strategies/google_apps.rb
oa-openid-0.0.5 lib/omniauth/strategies/google_apps.rb
oa-openid-0.0.4 lib/omniauth/strategies/google_apps.rb