Class: OmniAuth::Strategies::Geoloqi
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Geoloqi
- Defined in:
- lib/omniauth/strategies/geoloqi.rb
Instance Method Summary collapse
Instance Method Details
#access_token_options ⇒ Object
43 44 45 |
# File 'lib/omniauth/strategies/geoloqi.rb', line 43 def ..inject({}) { |h,(k,v)| h[k.to_sym] = v; h } end |
#authorize_params ⇒ Object
47 48 49 50 51 |
# File 'lib/omniauth/strategies/geoloqi.rb', line 47 def super.tap do |params| params.merge!(:display => request.params['display']) if request.params['display'] end end |
#build_access_token ⇒ Object
37 38 39 40 41 |
# File 'lib/omniauth/strategies/geoloqi.rb', line 37 def build_access_token super.tap do |token| token..merge!() end end |