本文整理汇总了PHP中Hybrid_Provider_Model_OAuth2::initialize方法的典型用法代码示例。如果您正苦于以下问题:PHP Hybrid_Provider_Model_OAuth2::initialize方法的具体用法?PHP Hybrid_Provider_Model_OAuth2::initialize怎么用?PHP Hybrid_Provider_Model_OAuth2::initialize使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Hybrid_Provider_Model_OAuth2
的用法示例。
在下文中一共展示了Hybrid_Provider_Model_OAuth2::initialize方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: initialize
/**
* Initializer
*/
function initialize()
{
parent::initialize();
$this->api->api_base_url = 'http://192.168.91.4:9052/';
$this->api->authorize_url = 'http://192.168.91.4:9052/oauth/authorize';
$this->api->token_url = 'http://192.168.91.4:9052/oauth/token';
}
示例2: initialize
/**
* IDp wrappers initializer
*/
function initialize()
{
parent::initialize();
// Provider api end-points
$this->api->authorize_url = "https://login.mailchimp.com/oauth2/authorize";
$this->api->token_url = "https://login.mailchimp.com/oauth2/token";
}
示例3: initialize
/**
* IDp wrappers initializer
*/
function initialize()
{
parent::initialize();
// Provider api end-points
$this->api->api_base_url = "https://www.docker.io/api/v1.1/";
$this->api->authorize_url = "https://www.docker.io/api/v1.1/o/authorize/";
$this->api->token_url = "https://www.docker.io/api/v1.1/o/token/";
}
示例4: initialize
/**
* IDp wrappers initializer
*/
function initialize()
{
parent::initialize();
// Provider apis end-points
$this->api->api_base_url = "https://api.dropbox.com/1/";
$this->api->authorize_url = "https://www.dropbox.com/1/oauth2/authorize";
$this->api->token_url = "https://api.dropbox.com/1/oauth2/token";
}
示例5: initialize
function initialize()
{
parent::initialize();
$this->api->api_base_url = "https://login.yandex.ru/info";
$this->api->authorize_url = "https://oauth.yandex.ru/authorize";
$this->api->token_url = "https://oauth.yandex.ru/token";
$this->api->sign_token_name = "oauth_token";
}
示例6: initialize
/**
* IDp wrappers initializer
*/
function initialize()
{
parent::initialize();
$this->api->api_base_url = 'https://services.rdio.com/api/1/';
$this->api->authorize_url = 'https://www.rdio.com/oauth2/authorize';
$this->api->token_url = 'https://www.rdio.com/oauth2/token';
$this->api->curl_authenticate_method = "POST";
}
示例7: initialize
/**
* Initializer
*/
function initialize()
{
parent::initialize();
$this->api->api_base_url = 'https://api.soundcloud.com';
$this->api->authorize_url = 'https://api.soundcloud.com/connect';
$this->api->token_url = 'https://api.soundcloud.com/oauth2/token';
$this->api->curl_authenticate_method = "POST";
}
示例8: initialize
/**
* IDp wrappers initializer
*/
function initialize()
{
parent::initialize();
// Provider api end-points
$this->api->authorize_url = "https://accounts.google.com/o/oauth2/auth";
$this->api->token_url = "https://accounts.google.com/o/oauth2/token";
$this->api->token_info_url = "https://www.googleapis.com/oauth2/v1/tokeninfo";
}
示例9: initialize
function initialize()
{
parent::initialize();
// Provider api end-points
$this->api->authorize_url = 'https://poniverse.net/oauth/authorize';
$this->api->token_url = 'https://poniverse.net/oauth/access_token';
$this->api->token_info_url = 'http://api.poniverse.net/v1/users/me';
}
示例10: initialize
/**
* IDp wrappers initializer
*/
function initialize()
{
parent::initialize();
// Provider apis end-points
$this->api->api_base_url = "https://api.foursquare.com/v2/";
$this->api->authorize_url = "https://foursquare.com/oauth2/authenticate";
$this->api->token_url = "https://foursquare.com/oauth2/access_token";
$this->api->sign_token_name = "oauth_token";
}
示例11: initialize
/**
* IDp wrappers initializer
*/
function initialize()
{
parent::initialize();
// Provider api end-points
$this->api->api_base_url = 'https://apis.live.net/v5.0/';
$this->api->authorize_url = 'https://login.live.com/oauth20_authorize.srf';
$this->api->token_url = 'https://login.live.com/oauth20_token.srf';
$this->api->curl_authenticate_method = "GET";
}
示例12: initialize
/**
* Initializer
*/
function initialize()
{
parent::initialize();
$this->api->api_base_url = 'https://partner.api.beatsmusic.com/';
$this->api->authorize_url = 'https://partner.api.beatsmusic.com/v1/oauth2/authorize';
$this->api->token_url = 'https://partner.api.beatsmusic.com/v1/oauth2/token';
$this->api->curl_authenticate_method = "POST";
$this->api->curl_useragent = "CWM";
}
示例13: initialize
/**
* IDp wrappers initializer
*/
function initialize()
{
parent::initialize();
// Provider api end-points
$this->api->api_base_url = "https://disqus.com/api/3.0/";
$this->api->authorize_url = "https://disqus.com/api/3.0/oauth/2.0/authorize";
$this->api->token_url = "https://disqus.com/api/3.0/oauth/2.0/access_token";
$this->api->curl_header = array('client_id: ' . $this->config["keys"]["id"], 'Accept: application/json');
}