Class: OmniAuth::Strategies::Crest
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Crest
- Defined in:
- lib/omniauth/strategies/crest.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/omniauth/strategies/crest.rb', line 33 def super.tap do |params| %w[scope].each do |v| if request.params[v] params[v.to_sym] = request.params[v] end end params[:scope] ||= '' end end |
#raw_info ⇒ Object
29 30 31 |
# File 'lib/omniauth/strategies/crest.rb', line 29 def raw_info @raw_info ||= access_token.get('/oauth/verify').parsed end |