class OmniAuth::Strategies::Pinterest
Public Instance Methods
callback_url()
click to toggle source
# File lib/omniauth/strategies/pinterest.rb, line 47 def callback_url full_host + script_name + callback_path end
raw_info()
click to toggle source
# File lib/omniauth/strategies/pinterest.rb, line 22 def raw_info fields = 'first_name,id,last_name,url,account_type,username,bio,image' @raw_info ||= access_token.get("/v1/me/?fields=#{fields}").parsed['data'] end
request_phase()
click to toggle source
Calls superclass method
# File lib/omniauth/strategies/pinterest.rb, line 12 def request_phase options[:scope] ||= 'read_public' options[:response_type] ||= 'code' super end
ssl?()
click to toggle source
# File lib/omniauth/strategies/pinterest.rb, line 27 def ssl? true end