예제 #1
0
 /**
  * Constructor.
  *
  * @param   JRegistry  $options  JLinkedinOauth options object.
  * @param   JHttp      $client   The HTTP client object.
  * @param   JInput     $input    The input object
  *
  * @since 13.1
  */
 public function __construct(JRegistry $options = null, JHttp $client = null, JInput $input = null)
 {
     $this->options = isset($options) ? $options : new JRegistry();
     $this->options->def('accessTokenURL', 'https://www.linkedin.com/uas/oauth/accessToken');
     $this->options->def('authenticateURL', 'https://www.linkedin.com/uas/oauth/authenticate');
     $this->options->def('authoriseURL', 'https://www.linkedin.com/uas/oauth/authorize');
     $this->options->def('requestTokenURL', 'https://www.linkedin.com/uas/oauth/requestToken');
     // Call the JOauthV1aclient constructor to setup the object.
     parent::__construct($this->options, $client, $input);
 }
예제 #2
0
파일: oauth.php 프로젝트: adjaika/J3Base
 /**
  * Constructor.
  *
  * @param   Registry         $options      JTwitterOauth options object.
  * @param   JHttp            $client       The HTTP client object.
  * @param   JInput           $input        The input object.
  * @param   JApplicationWeb  $application  The application object.
  *
  * @since   12.3
  */
 public function __construct(Registry $options = null, JHttp $client = null, JInput $input = null, JApplicationWeb $application = null)
 {
     $this->options = isset($options) ? $options : new Registry();
     $this->options->def('accessTokenURL', 'https://api.twitter.com/oauth/access_token');
     $this->options->def('authenticateURL', 'https://api.twitter.com/oauth/authenticate');
     $this->options->def('authoriseURL', 'https://api.twitter.com/oauth/authorize');
     $this->options->def('requestTokenURL', 'https://api.twitter.com/oauth/request_token');
     // Call the JOAuth1Client constructor to setup the object.
     parent::__construct($this->options, $client, $input, $application);
 }
예제 #3
0
파일: oauth.php 프로젝트: 01J/topm
 /**
  * Constructor.
  *
  * @param   JRegistry  $options  JOpenstreetmapOauth options object.
  * @param   JHttp      $client   The HTTP client object.
  * @param   JInput     $input    The input object
  *
  * @since   13.1
  */
 public function __construct(JRegistry $options = null, JHttp $client = null, JInput $input = null)
 {
     $this->options = isset($options) ? $options : new JRegistry();
     $this->options->def('accessTokenURL', 'http://www.openstreetmap.org/oauth/access_token');
     $this->options->def('authoriseURL', 'http://www.openstreetmap.org/oauth/authorize');
     $this->options->def('requestTokenURL', 'http://www.openstreetmap.org/oauth/request_token');
     /*
     $this->options->def('accessTokenURL', 'http://api06.dev.openstreetmap.org/oauth/access_token');
     $this->options->def('authoriseURL', 'http://api06.dev.openstreetmap.org/oauth/authorize');
     $this->options->def('requestTokenURL', 'http://api06.dev.openstreetmap.org/oauth/request_token');
     */
     // Call the JOauth1Client constructor to setup the object.
     parent::__construct($this->options, $client, $input, null, '1.0');
 }
예제 #4
0
 /**
  * Constructor.
  *
  * @param   Registry  $options  FabrikOauth options object.
  * @param   JHttp     $client   The HTTP client object.
  * @param   JInput    $input    The input object
  *
  * @since   13.1
  */
 public function __construct(Registry $options = null, JHttp $client = null, JInput $input = null)
 {
     $this->options = isset($options) ? $options : new Registry();
     // Call the JOAuth1Client constructor to setup the object.
     parent::__construct($this->options, $client, $input);
 }