Class: OmniAuth::Strategies::Gab
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Gab
- Defined in:
- lib/omniauth/strategies/gab.rb
Instance Method Summary collapse
Instance Method Details
#authorize_params(params = {}) ⇒ Object
36 37 38 39 40 41 42 43 |
# File 'lib/omniauth/strategies/gab.rb', line 36 def (params = {}) params.merge( 'response_type' => 'code', 'client_id' => .client_id, 'redirect_uri' => .redirect_uri, 'scope' => .scope ) end |
#raw_info ⇒ Object
31 32 33 34 |
# File 'lib/omniauth/strategies/gab.rb', line 31 def raw_info access_token.[:parse] = :json @raw_info ||= access_token.get('/v1.0/me/').parsed end |