Source for file oauth.php
Documentation is available at oauth.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
defined('JPATH_PLATFORM') or die();
* Joomla Platform class for generating Facebook API access token.
* @package Joomla.Platform
* @var JRegistry Options for the JFacebookOAuth object.
* @param JRegistry $options JFacebookOauth options object.
* @param JHttp $client The HTTP client object.
* @param JInput $input The input object.
public function __construct(JRegistry $options =
null, JHttp $client =
null, JInput $input =
null)
// Setup the authentication and token urls if not already set.
$this->options->def('authurl', 'http://www.facebook.com/dialog/oauth');
$this->options->def('tokenurl', 'https://graph.facebook.com/oauth/access_token');
// Call the JOauthOauth2client constructor to setup the object.
* Method used to set permissions.
* @param string $scope Comma separated list of permissions.
* @return JFacebookOauth This object for method chaining
* Method to get the current scope
* @return string Comma separated list of permissions.
Documentation generated on Tue, 19 Nov 2013 15:09:40 +0100 by phpDocumentor 1.4.3