Class: OmniAuth::Strategies::Singly
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Singly
- Defined in:
- lib/omniauth/strategies/singly.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
14 15 16 17 18 19 |
# File 'lib/omniauth/strategies/singly.rb', line 14 def super.merge( :service => request.params["service"], :scope => request.params["scope"] ) end |
#raw_info ⇒ Object
27 28 29 30 31 32 33 |
# File 'lib/omniauth/strategies/singly.rb', line 27 def raw_info @raw_info ||= begin access_token.[:mode] = :query access_token.[:param_name] = :access_token access_token.get("/profiles").parsed end end |