public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "SinaWeibo";
     $this->config['dialog_url'] = 'https://api.weibo.com/oauth2/authorize';
     $this->config['access_token_url'] = 'https://api.weibo.com/oauth2/access_token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Foursquare";
     $this->config['dialog_url'] = 'https://foursquare.com/oauth2/authorize?client_id={CLIENT_ID}&scope={SCOPE}&response_type=code&redirect_uri={REDIRECT_URI}&state={STATE}';
     $this->config['access_token_url'] = 'https://foursquare.com/oauth2/access_token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Vkontakt";
     $this->config['dialog_url'] = 'https://oauth.vk.com/authorize';
     $this->config['access_token_url'] = 'https://oauth.vk.com/access_token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Amazon";
     $this->config['request_token_url'] = "https://www.amazon.com/ap/oa";
     $this->config['access_token_url'] = "https://www.amazon.com/auth/o2/token";
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Deviantart";
     $this->config['dialog_url'] = 'https://www.deviantart.com/oauth2/draft15/authorize';
     $this->config['access_token_url'] = 'https://www.deviantart.com/oauth2/draft15/token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "SensioConnect";
     $this->config['dialog_url'] = 'https://connect.sensiolabs.com/oauth/authorize';
     $this->config['access_token_url'] = 'https://connect.sensiolabs.com/oauth/access_token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "github";
     $this->config['dialog_url'] = 'https://github.com/login/oauth/authorize?client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&scope={SCOPE}&state={STATE}';
     $this->config['access_token_url'] = 'https://github.com/login/oauth/access_token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "ThirtySevenSignals";
     $this->config['dialog_url'] = 'https://launchpad.37signals.com/authorization/new';
     $this->config['access_token_url'] = 'https://launchpad.37signals.com/authorization/token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Disqus";
     $this->config['dialog_url'] = 'https://disqus.com/api/oauth/2.0/authorize/?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&scope={SCOPE}&state={STATE}';
     $this->config['access_token_url'] = 'https://disqus.com/api/oauth/2.0/access_token/';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "StackExchange";
     $this->config['dialog_url'] = 'https://stackexchange.com/oauth';
     $this->config['access_token_url'] = 'https://stackexchange.com/oauth/access_token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Dailymotion";
     $this->config['dialog_url'] = 'https://api.dailymotion.com/oauth/authorize';
     $this->config['access_token_url'] = 'https://api.dailymotion.com/oauth/token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Odnoklassniki";
     $this->config['dialog_url'] = 'http://www.odnoklassniki.ru/oauth/authorize';
     $this->config['access_token_url'] = 'http://api.odnoklassniki.ru/oauth/token.do';
 }
Esempio n. 13
0
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Qq";
     $this->config['dialog_url'] = 'https://graph.qq.com/oauth2.0/authorize?format=json';
     $this->config['access_token_url'] = 'https://graph.qq.com/oauth2.0/token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Bitly";
     $this->config['request_token_url'] = 'https://bitly.com/oauth/authorize';
     $this->config['access_token_url'] = 'https://api-ssl.bitly.com/oauth/access_token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Wordpress";
     $this->config['dialog_url'] = 'https://public-api.wordpress.com/oauth2/authorize';
     $this->config['access_token_url'] = 'https://public-api.wordpress.com/oauth2/token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Google";
     $this->config['dialog_url'] = 'https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&scope={SCOPE}&state={STATE}';
     $this->config['offline_dialog_url'] = 'https://accounts.google.com/o/oauth2/auth?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&scope={SCOPE}&state={STATE}&access_type=offline&approval_prompt=force';
     $this->config['access_token_url'] = 'https://accounts.google.com/o/oauth2/token';
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "StockTwits";
     $this->config['dialog_url'] = 'https://api.stocktwits.com/api/2/oauth/authorize?client_id={CLIENT_ID}&response_type=code&redirect_uri={REDIRECT_URI}&scope={SCOPE}&state={STATE}';
     $this->config['access_token_url'] = 'https://api.stocktwits.com/api/2/oauth/token';
     $this->config['debug'] = true;
     $this->config['debug_http'] = true;
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "SurveyMonkey";
     $this->config['dialog_url'] = 'https://api.surveymonkey.net/oauth/authorize?client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&response_type=code&state={STATE}&api_key={API_KEY}';
     $this->config['access_token_url'] = 'https://api.surveymonkey.net/oauth/token?api_key={API_KEY}';
     $this->config['get_token_with_api_key'] = true;
     $this->config['debug'] = false;
     $this->config['debug_http'] = true;
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Microsoft";
     $this->config['dialog_url'] = 'https://login.live.com/oauth20_authorize.srf?client_id={CLIENT_ID}&scope={SCOPE}&response_type=code&redirect_uri={REDIRECT_URI}&state={STATE}';
     $this->config['access_token_url'] = 'https://login.live.com/oauth20_token.srf';
     $this->config['debug'] = false;
     $this->config['debug_http'] = true;
     $this->config['scope'] = "wl.basic wl.emails";
 }
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Salesforce";
     $this->config['dialog_url'] = 'https://login.salesforce.com/services/oauth2/authorize?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&scope={SCOPE}&state={STATE}';
     $this->config['access_token_url'] = 'https://login.salesforce.com/services/oauth2/token';
     $this->config['default_access_token_type'] = "Bearer";
     $this->config['store_access_token_response'] = true;
     $this->config['debug'] = true;
     $this->config['debug_http'] = true;
 }
Esempio n. 21
0
 public function __construct()
 {
     parent::__construct();
     $this->config['server'] = "Box";
     $this->config['dialog_url'] = 'https://www.box.com/api/oauth2/authorize?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&state={STATE}';
     $this->config['offline_dialog_url'] = 'https://www.box.com/api/oauth2/authorize?response_type=code&client_id={CLIENT_ID}&redirect_uri={REDIRECT_URI}&state={STATE}&access_type=offline&approval_prompt=force';
     $this->config['access_token_url'] = 'https://www.box.com/api/oauth2/token';
     $this->config['debug'] = true;
     $this->config['debug_http'] = true;
     $this->config['offline'] = true;
 }
 /**
  * {@inheritDoc}
  */
 public function getAuthorizationUrl($redirectUri, array $extraParameters = array())
 {
     return parent::getAuthorizationUrl($redirectUri, array_merge(array('display' => $this->getOption('display')), $extraParameters));
 }