当前位置: 首页>>代码示例>>PHP>>正文


PHP Hybrid_Provider_Model_OAuth1::initialize方法代码示例

本文整理汇总了PHP中Hybrid_Provider_Model_OAuth1::initialize方法的典型用法代码示例。如果您正苦于以下问题:PHP Hybrid_Provider_Model_OAuth1::initialize方法的具体用法?PHP Hybrid_Provider_Model_OAuth1::initialize怎么用?PHP Hybrid_Provider_Model_OAuth1::initialize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Hybrid_Provider_Model_OAuth1的用法示例。


在下文中一共展示了Hybrid_Provider_Model_OAuth1::initialize方法的12个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: initialize

 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = 'http://social.yahooapis.com/v1/';
     $this->api->authorize_url = 'https://api.login.yahoo.com/oauth/v2/request_auth';
     $this->api->request_token_url = 'https://api.login.yahoo.com/oauth/v2/get_request_token';
     $this->api->access_token_url = 'https://api.login.yahoo.com/oauth/v2/get_token';
 }
开发者ID:WohligTechnology,项目名称:lllbackend,代码行数:9,代码来源:Yahoo.php

示例2: initialize

 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // provider api end-points
     $this->api->api_base_url = "https://identi.ca/api/";
     $this->api->authorize_url = "https://identi.ca/api/oauth/authorize";
     $this->api->request_token_url = "https://identi.ca/api/oauth/request_token";
     $this->api->access_token_url = "https://identi.ca/api/oauth/access_token";
 }
开发者ID:davidbehler,项目名称:HybridAuth,代码行数:12,代码来源:Identica.php

示例3: initialize

 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_endpoint_url = "http://api.myspace.com/v1/";
     $this->api->authorize_url = "http://api.myspace.com/authorize";
     $this->api->request_token_url = "http://api.myspace.com/request_token";
     $this->api->access_token_url = "http://api.myspace.com/access_token";
 }
开发者ID:mafiu,项目名称:listapp,代码行数:12,代码来源:MySpace.php

示例4: initialize

 /**
  * IDp wrappers initializer
  */
 function initialize()
 {
     parent::initialize();
     // provider api end-points
     $this->api->api_base_url = "https://bitbucket.org/api/1.0/";
     $this->api->authorize_url = "https://bitbucket.org/api/1.0/oauth/authenticate";
     $this->api->request_token_url = "https://bitbucket.org/api/1.0/oauth/request_token";
     $this->api->access_token_url = "https://bitbucket.org/api/1.0/oauth/access_token";
     $this->api->curl_auth_header = false;
 }
开发者ID:mif32,项目名称:2_d_social_login_lite,代码行数:13,代码来源:bitbucket.php

示例5: initialize

 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // provider api end-points
     $this->api->api_base_url = "https://api.500px.com/v1/";
     $this->api->authorize_url = "https://api.500px.com/v1/oauth/authorize";
     $this->api->request_token_url = "https://api.500px.com/v1/oauth/request_token";
     $this->api->access_token_url = "https://api.500px.com/v1/oauth/access_token";
     $this->api->curl_auth_header = false;
 }
开发者ID:hilmysyarif,项目名称:l4-bootstrap-admin,代码行数:13,代码来源:px500.php

示例6: initialize

 /**
  * IDp wrappers initializer
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = 'http://api.rdio.com/1/';
     $this->api->authorize_url = 'https://www.rdio.com/oauth/authorize';
     $this->api->request_token_url = 'http://api.rdio.com/oauth/request_token';
     $this->api->access_token_url = 'http://api.rdio.com/oauth/access_token';
     $this->api->curl_authenticate_method = "POST";
 }
开发者ID:govza,项目名称:modx-hybridauth,代码行数:13,代码来源:Rdio.php

示例7: initialize

 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // provider api end-points
     $this->api->api_base_url = "http://www.goodreads.com/";
     $this->api->authorize_url = "http://www.goodreads.com/oauth/authorize";
     $this->api->request_token_url = "http://www.goodreads.com/oauth/request_token";
     $this->api->access_token_url = "http://www.goodreads.com/oauth/access_token";
     // turn off json parsing!
     $this->api->decode_json = false;
 }
开发者ID:mrsad,项目名称:Dru.io,代码行数:14,代码来源:Goodreads.php

示例8: initialize

 function initialize()
 {
     // Use Beijing Timezone
     date_default_timezone_set('Etc/GMT-8');
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = 'http://open.t.qq.com/api/';
     $this->api->authorize_url = 'https://open.t.qq.com/cgi-bin/authorize';
     $this->api->request_token_url = 'https://open.t.qq.com/cgi-bin/request_token';
     $this->api->access_token_url = 'https://open.t.qq.com/cgi-bin/access_token';
 }
开发者ID:kumarsivarajan,项目名称:yii-user-management,代码行数:11,代码来源:QQ.php

示例9: initialize

 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = 'http://emma.pixnet.cc/';
     $this->api->authorize_url = 'http://emma.pixnet.cc/oauth/authorize';
     $this->api->request_token_url = 'http://emma.pixnet.cc/oauth/request_token';
     $this->api->access_token_url = 'http://emma.pixnet.cc/oauth/access_token';
     // for access_token need to POST data instead of using GET
     $this->api->access_token_method = 'POST';
 }
开发者ID:alijaffar,项目名称:PHP-Login-Framework,代码行数:11,代码来源:Pixnet.php

示例10: initialize

 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = 'http://www.plurk.com/APP/';
     $this->api->authorize_url = 'http://www.plurk.com/OAuth/authorize';
     $this->api->request_token_url = 'http://www.plurk.com/OAuth/request_token';
     $this->api->access_token_url = 'http://www.plurk.com/OAuth/access_token';
     // for Plurk we need to POST data instead of using GET
     $this->api->request_token_method = 'POST';
     $this->api->access_token_method = 'POST';
 }
开发者ID:DonaldNgai,项目名称:PHPAuthentication,代码行数:12,代码来源:Plurk.php

示例11: initialize

 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "https://api.twitter.com/1.1/";
     $this->api->authorize_url = "https://api.twitter.com/oauth/authenticate";
     $this->api->request_token_url = "https://api.twitter.com/oauth/request_token";
     $this->api->access_token_url = "https://api.twitter.com/oauth/access_token";
     if (isset($this->config['api_version']) && $this->config['api_version']) {
         $this->api->api_base_url = "https://api.twitter.com/{$this->config['api_version']}/";
     }
     if (isset($this->config['authorize']) && $this->config['authorize']) {
         $this->api->authorize_url = "https://api.twitter.com/oauth/authorize";
     }
     $this->api->curl_auth_header = false;
 }
开发者ID:microbye,项目名称:q2a-open-login,代码行数:19,代码来源:Twitter.php

示例12: initialize

 /**
  * Initialize.
  */
 function initialize()
 {
     if (!$this->config['keys']['key'] || !$this->config['keys']['secret']) {
         throw new Exception('You need a consumer key and secret to connect to ' . $this->providerId . '.');
     }
     parent::initialize();
     // XING API endpoints.
     $this->api->api_base_url = 'https://api.xing.com/v1/';
     $this->api->authorize_url = 'https://api.xing.com/v1/authorize';
     $this->api->request_token_url = 'https://api.xing.com/v1/request_token';
     $this->api->access_token_url = 'https://api.xing.com/v1/access_token';
     // Currently there is only version "v1" available.
     if (isset($this->config['api_version']) && $this->config['api_version']) {
         $this->api->api_base_url = 'https://api.xing.com/' . $this->config['api_version'] . '/';
     }
     // We don't need them.
     $this->api->curl_auth_header = false;
 }
开发者ID:DonaldNgai,项目名称:PHPAuthentication,代码行数:21,代码来源:XING.php


注:本文中的Hybrid_Provider_Model_OAuth1::initialize方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。