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
#callback_url ⇒ Object
38 39 40 |
# File 'lib/omniauth/strategies/apple.rb', line 38 def callback_url [:redirect_uri] || (full_host + script_name + callback_path) end |
#client ⇒ Object
34 35 36 |
# File 'lib/omniauth/strategies/apple.rb', line 34 def client ::OAuth2::Client.new(.client_id, client_secret, deep_symbolize(.)) end |