Class: Groovestack::Auth::Providers::Apple
- Inherits:
-
OmniAuth
- Object
- Groovestack::Auth::Provider
- OmniAuth
- Groovestack::Auth::Providers::Apple
- Defined in:
- lib/groovestack/auth/providers/apple.rb
Constant Summary collapse
- PROVIDER =
:apple- REQUIRED_CREDENTIALS =
i[client_id team_id key_id pem_content].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
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/groovestack/auth/providers/apple.rb', line 10 def self.generate_omniauth_args [ provider, credential_for(:client_id), '', { team_id: credential_for(:team_id), key_id: credential_for(:key_id), pem: credential_for(:pem_content), origin_param: 'return_to' } ] end |