Class: OmniAuth::Strategies::Bootic
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Bootic
- Defined in:
- lib/omniauth/strategies/bootic.rb
Constant Summary collapse
- BOOTIC_AUTH_URL =
(ENV['BOOTIC_AUTH_URL'] || "https://auth.bootic.net")
- BOOTIC_API_URL =
(ENV['BOOTIC_API_URL'] || "https://api.bootic.net/v1")
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
22 23 24 25 26 27 28 |
# File 'lib/omniauth/strategies/bootic.rb', line 22 def if request.params['scope'] super.merge({scope: request.params['scope']}) else super end end |
#raw_info ⇒ Object
51 52 53 |
# File 'lib/omniauth/strategies/bootic.rb', line 51 def raw_info @raw_info ||= access_token.get('/v1').parsed end |