Class: OmniAuth::Strategies::GoogleOpenID
- Inherits:
-
OpenID
- Object
- OpenID
- OmniAuth::Strategies::GoogleOpenID
- Defined in:
- lib/omniauth/strategies/google_open_id.rb
Instance Method Summary collapse
- #identifier ⇒ Object
-
#initialize(app, store = nil, options = {}) ⇒ GoogleOpenID
constructor
OmniAuth::Strategies::GoogleOpenID helps you to use plain open_id and google open_id both in the same application.
Constructor Details
#initialize(app, store = nil, options = {}) ⇒ GoogleOpenID
OmniAuth::Strategies::GoogleOpenID helps you to use plain open_id and google open_id both in the same application
use OmniAuth::Builder do
provider :google_open_id
provider :open_id, OpenID::Store::Filesystem.new('/tmp')
end
16 17 18 19 |
# File 'lib/omniauth/strategies/google_open_id.rb', line 16 def initialize(app, store = nil, = {}) [:name]||='google_open_id' super(app, store, ) end |
Instance Method Details
#identifier ⇒ Object
22 23 24 |
# File 'lib/omniauth/strategies/google_open_id.rb', line 22 def identifier 'https://www.google.com/accounts/o8/id' end |