Class: OmniAuth::Strategies::Forge
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Forge
- Defined in:
- lib/omniauth/strategies/forge.rb
Instance Method Summary collapse
-
#callback_url ⇒ Object
Forge is expecting a callback_url without parameters.
- #raw_info ⇒ Object
Instance Method Details
#callback_url ⇒ Object
Forge is expecting a callback_url without parameters
33 34 35 |
# File 'lib/omniauth/strategies/forge.rb', line 33 def callback_url super.gsub(/\?.*$/, '') end |
#raw_info ⇒ Object
37 38 39 |
# File 'lib/omniauth/strategies/forge.rb', line 37 def raw_info @raw_info ||= access_token.get('/userprofile/v1/users/@me').parsed end |