本文整理汇总了PHP中Hybrid_Provider_Model_OAuth2类的典型用法代码示例。如果您正苦于以下问题:PHP Hybrid_Provider_Model_OAuth2类的具体用法?PHP Hybrid_Provider_Model_OAuth2怎么用?PHP Hybrid_Provider_Model_OAuth2使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了Hybrid_Provider_Model_OAuth2类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: 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";
}
开发者ID:alijaffar,项目名称:PHP-Login-Framework,代码行数:10,代码来源:MailChimp.php
示例2: loginFinish
/**
* finish login step
*/
function loginFinish()
{
parent::loginFinish();
$this->user->profile->emailVerified = $this->user->profile->email;
// restore the user profile
Hybrid_Auth::storage()->set("hauth_session.{$this->providerId}.user", $this->user);
}
开发者ID:microbye,项目名称:q2a-open-login,代码行数:10,代码来源:Google.php
示例3: 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';
}
开发者ID:rockfireredmoon,项目名称:tawsite,代码行数:10,代码来源:Tawd.php
示例4: loginFinish
/**
* finish login step
*/
function loginFinish()
{
// check that the CSRF state token is the same as the one provided
$this->checkState();
// call the parent function
parent::loginFinish();
}
开发者ID:siite,项目名称:choose-sa-cloud,代码行数:10,代码来源:DigitalOcean.php
示例5: initialize
/**
* IDp wrappers initializer
*/
function initialize()
{
parent::initialize();
$this->api->api_base_url = 'https://api.deezer.com/';
$this->api->authorize_url = 'https://connect.deezer.com/oauth/auth.php';
$this->api->token_url = 'https://connect.deezer.com/oauth/access_token.php';
$this->api->curl_authenticate_method = "GET";
}
开发者ID:DonaldNgai,项目名称:PHPAuthentication,代码行数:11,代码来源:Deezer.php
示例6: 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/";
}
开发者ID:XDocker,项目名称:app,代码行数:11,代码来源:DockerHub.php
示例7: 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";
}
开发者ID:olax,项目名称:epetitions,代码行数:11,代码来源:Dropbox.php
示例8: 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';
}
开发者ID:Lavoaster,项目名称:PVLive,代码行数:8,代码来源:Poniverse.php
示例9: initialize
/**
* Initializer
*/
function initialize()
{
parent::initialize();
$this->api->api_base_url = 'https://api.mixcloud.com';
$this->api->authorize_url = 'https://www.mixcloud.com/oauth/authorize';
$this->api->token_url = 'https://www.mixcloud.com/oauth/access_token';
$this->api->curl_authenticate_method = "POST";
}
开发者ID:alijaffar,项目名称:PHP-Login-Framework,代码行数:11,代码来源:MixCloud.php
示例10: 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";
}
开发者ID:bendasvadim,项目名称:NewsModxBox,代码行数:8,代码来源:Yandex.php
示例11: 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";
}
开发者ID:Hoplite-Software,项目名称:observatory,代码行数:11,代码来源:Google.php
示例12: 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";
}
开发者ID:ekandreas,项目名称:wordpress-social-login,代码行数:12,代码来源:Foursquare.php
示例13: 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";
}
开发者ID:noikiy,项目名称:laravel-UI,代码行数:12,代码来源:Live.php
示例14: 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";
}
开发者ID:olax,项目名称:epetitions,代码行数:12,代码来源:BeatsMusic.php
示例15: 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');
}
开发者ID:kumarsivarajan,项目名称:yii-user-management,代码行数:12,代码来源:Disqus.php
注:本文中的Hybrid_Provider_Model_OAuth2类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论