Пример #1
0
 /**
  * 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";
 }
Пример #2
0
 /**
  * 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);
 }
Пример #3
0
 /**
  * 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';
 }
Пример #4
0
 /**
  * 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();
 }
Пример #5
0
 /**
  * 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";
 }
Пример #6
0
 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->authorize_url = "http://api.vk.com/oauth/authorize";
     $this->api->token_url = "https://api.vk.com/oauth/token";
     //$this->api->token_info_url
 }
Пример #7
0
 /**
  * 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/";
 }
Пример #8
0
 /**
  * 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";
 }
Пример #9
0
 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
0
 /**
  * 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";
 }
Пример #11
0
 /**
  * IDp wrappers initializer
  */
 function initialize()
 {
     parent::initialize();
     // provider api end-points
     $this->api->api_base_url = "https://api.bitbucket.org/2.0/";
     $this->api->authorize_url = "https://bitbucket.org/site/oauth2/authorize";
     $this->api->token_url = "https://bitbucket.org/site/oauth2/access_token";
 }
Пример #12
0
 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";
 }
Пример #13
0
 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "https://api.moves-app.com/api/v1";
     $this->api->authorize_url = "https://api.moves-app.com/oauth/v1/authorize";
     $this->api->token_url = "https://api.moves-app.com/oauth/v1/access_token";
 }
Пример #14
0
 /**
  * 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";
 }
Пример #15
0
 /**
  * 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";
 }
Пример #16
0
 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "https://public-api.wordpress.com/rest/v1/";
     $this->api->authorize_url = "https://public-api.wordpress.com/oauth2/authorize";
     $this->api->token_url = "https://public-api.wordpress.com/oauth2/token";
 }
Пример #17
0
 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "https://api.dribbble.com/v1/";
     $this->api->authorize_url = "https://dribbble.com/oauth/authorize";
     $this->api->token_url = "https://dribbble.com/oauth/token";
 }
 /**
  * IDp wrappers initializer
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "https://upperroom-sso-server-staging.herokuapp.com/api/v1/";
     $this->api->authorize_url = "https://upperroom-sso-server-staging.herokuapp.com/oauth/authorize";
     $this->api->token_url = "https://upperroom-sso-server-staging.herokuapp.com/oauth/token";
 }
Пример #19
0
 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "https://www.strava.com/api/v3/";
     $this->api->authorize_url = "https://www.strava.com/oauth/authorize";
     $this->api->token_url = "https://www.strava.com/oauth/token";
 }
Пример #20
0
 /**
  * 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";
 }
Пример #21
0
 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "http://www.reddit.com/api/v1/";
     $this->api->authorize_url = "https://ssl.reddit.com/api/v1/authorize";
     $this->api->token_url = "https://ssl.reddit.com/api/v1/access_token";
 }
Пример #22
0
 /**
  * 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/oauth/2.0/authorize";
     $this->api->token_url = "https://disqus.com/api/oauth/2.0/access_token/";
 }
Пример #23
0
 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "https://api.instagram.com/v1/";
     $this->api->authorize_url = "https://api.instagram.com/oauth/authorize/";
     $this->api->token_url = "https://api.instagram.com/oauth/access_token";
 }
Пример #24
0
 /**
  * IDp wrappers initializer
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "https://api.github.com/";
     $this->api->authorize_url = "https://github.com/login/oauth/authorize";
     $this->api->token_url = "https://github.com/login/oauth/access_token";
 }
Пример #25
0
 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider api end-points
     $this->api->api_base_url = "https://api.stackexchange.com/2.2/";
     $this->api->authorize_url = "https://stackexchange.com/oauth";
     $this->api->token_url = "https://stackexchange.com/oauth/access_token";
 }
 /**
  * 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";
 }
Пример #27
0
 /**
  * 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";
 }
Пример #28
0
 /**
  * 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";
 }
Пример #29
0
 /**
  * IDp wrappers initializer 
  */
 function initialize()
 {
     parent::initialize();
     // Provider apis end-points
     $this->api->api_base_url = "https://ws3.pixelpin.co.uk/index.php/api/";
     $this->api->authorize_url = "https://login.pixelpin.co.uk/OAuth2/FLogin.aspx";
     $this->api->token_url = "https://ws3.pixelpin.co.uk/index.php/api/token";
     $this->api->sign_token_name = "oauth_token";
 }
Пример #30
0
 /**
  * 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');
 }