Class: OmniAuth::Strategies::GoogleApps

Inherits:
OpenID
  • Object
show all
Defined in:
lib/omniauth/strategies/google_apps.rb

Instance Method Summary collapse

Instance Method Details

#get_identifierObject



10
11
12
13
14
15
# File 'lib/omniauth/strategies/google_apps.rb', line 10

def get_identifier
  f = OmniAuth::Form.new(:title => 'Google Apps Authentication')
  f.label_field('Google Apps Domain', 'domain')
  f.input_field('url', 'domain')
  f.to_response
end

#identifierObject



17
18
19
# File 'lib/omniauth/strategies/google_apps.rb', line 17

def identifier
  options[:domain] || request['domain']
end