Class: OmniAuth::Strategies::GoogleApps
- Inherits:
-
OpenID
- Object
- OpenID
- OmniAuth::Strategies::GoogleApps
- Defined in:
- lib/omniauth/strategies/google_apps.rb
Instance Method Summary collapse
Instance Method Details
#get_identifier ⇒ Object
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 |
#identifier ⇒ Object
17 18 19 |
# File 'lib/omniauth/strategies/google_apps.rb', line 17 def identifier [:domain] || request['domain'] end |