Class: OmniAuth::Strategies::Trello
- Inherits:
-
OAuth
- Object
- OAuth
- OmniAuth::Strategies::Trello
- Defined in:
- lib/omniauth/strategies/trello.rb
Instance Method Summary collapse
Instance Method Details
#raw_info ⇒ Object
44 45 46 |
# File 'lib/omniauth/strategies/trello.rb', line 44 def raw_info @raw_info ||= MultiJson.decode(access_token.get('/1/members/me').body) end |
#request_phase ⇒ Object
35 36 37 38 39 40 41 42 |
# File 'lib/omniauth/strategies/trello.rb', line 35 def request_phase [:authorize_params] = { :name => ['app_name'], :scope => ['scope'] || 'read' } [:authorize_params].merge!(:expiration => ['expiration']) if ['expiration'] super end |