Class: OmniAuth::Strategies::Nettoken
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Nettoken
- Defined in:
- lib/omniauth-nettoken.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
23 24 25 |
# File 'lib/omniauth-nettoken.rb', line 23 def callback_url full_host + script_name + callback_path end |
#raw_info ⇒ Object
27 28 29 |
# File 'lib/omniauth-nettoken.rb', line 27 def raw_info @raw_info ||= access_token.get('/api/me.json').parsed end |