Class: OmniAuth::Strategies::Frameio

Inherits:
OAuth2
  • Object
show all
Defined in:
lib/omniauth/strategies/frameio.rb

Overview

Frame.io strategy

Instance Method Summary collapse

Instance Method Details

#raw_infoObject



61
62
63
# File 'lib/omniauth/strategies/frameio.rb', line 61

def raw_info
  @raw_info ||= access_token.get('me').parsed
end

#token_paramsObject

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