Class: OmniAuth::Strategies::Krystal
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Krystal
- Defined in:
- lib/omniauth/strategies/krystal.rb
Instance Method Summary collapse
Instance Method Details
#callback_url ⇒ Object
37 38 39 |
# File 'lib/omniauth/strategies/krystal.rb', line 37 def callback_url full_host + script_name + callback_path end |
#raw_info ⇒ Object
41 42 43 |
# File 'lib/omniauth/strategies/krystal.rb', line 41 def raw_info @raw_info ||= access_token.get("user").parsed end |
#scope ⇒ Object
33 34 35 |
# File 'lib/omniauth/strategies/krystal.rb', line 33 def scope access_token["scope"] end |