Class: Groovestack::Auth::Providers::Google
- Inherits:
-
OmniAuth
- Object
- Groovestack::Auth::Provider
- OmniAuth
- Groovestack::Auth::Providers::Google
- Defined in:
- lib/groovestack/auth/providers/google.rb
Constant Summary collapse
- PROVIDER =
:google_oauth2- K =
:google- REQUIRED_CREDENTIALS =
i[client_id client_secret].freeze
Constants inherited from OmniAuth
Class Method Summary collapse
Methods inherited from OmniAuth
as_json, configured?, path, required_credentials, required_credentials_present?
Methods inherited from Groovestack::Auth::Provider
as_json, available?, configured?, credential_for, enabled?, k, provider
Class Method Details
.generate_omniauth_args ⇒ Object
11 12 13 |
# File 'lib/groovestack/auth/providers/google.rb', line 11 def self.generate_omniauth_args super << { name: k, origin_param: 'return_to' } end |