class OmniAuth::Strategies::Wordpress
Public Instance Methods
callback_url()
click to toggle source
# File lib/omniauth/strategies/wordpress.rb, line 56 def callback_url full_host + script_name + callback_path end
raw_info()
click to toggle source
# File lib/omniauth/strategies/wordpress.rb, line 50 def raw_info @raw_info ||= deep_symbolize( access_token.get(client.options[:user_url]).parsed ) end
token_params()
click to toggle source
# File lib/omniauth/strategies/wordpress.rb, line 40 def token_params OmniAuth::Strategy::Options.new( code: request.params["code"], redirect_uri: callback_url, client_id: client.id, client_secret: client.secret, type: "web_server" ) end