Class: OmniAuth::Strategies::Frameio
- Inherits:
-
OAuth2
- Object
- OAuth2
- OmniAuth::Strategies::Frameio
- Defined in:
- lib/omniauth/strategies/frameio.rb
Overview
Frame.io strategy
Instance Method Summary collapse
- #raw_info ⇒ Object
-
#token_params ⇒ Object
def authorize_params super.tap do |params| params = callback_url end end.
Instance Method Details
#raw_info ⇒ Object
61 62 63 |
# File 'lib/omniauth/strategies/frameio.rb', line 61 def raw_info @raw_info ||= access_token.get('me').parsed end |
#token_params ⇒ Object
def authorize_params
super.tap do |params|
params[:redirect_uri] = callback_url
end
end
31 32 33 34 35 |
# File 'lib/omniauth/strategies/frameio.rb', line 31 def token_params super.tap do |params| params[:redirect_uri] = callback_url.split('?').first end end |