Class: OmniAuth::Strategies::Apple
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Apple
- Defined in:
- lib/omniauth/strategies/apple.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
41 42 43 |
# File 'lib/omniauth/strategies/apple.rb', line 41 def super.merge(nonce: new_nonce) end |
#callback_url ⇒ Object
45 46 47 |
# File 'lib/omniauth/strategies/apple.rb', line 45 def callback_url [:redirect_uri] || (full_host + script_name + callback_path) end |
#client ⇒ Object
37 38 39 |
# File 'lib/omniauth/strategies/apple.rb', line 37 def client ::OAuth2::Client.new(client_id, client_secret, deep_symbolize(.)) end |