Trace:
#0 /home/jimi13/public_html/noteplug.com/hybridauth/hybridauth/Hybrid/Auth.php(39): Hybrid_Auth::initialize('/home/jimi13/pu...') #1 /home/jimi13/public_html/noteplug.com/hybridauth/examples/social_hub/logged.php(21): Hybrid_Auth->__construct('/home/jimi13/pu...') #2 {main}
Session:
Array ( [HA::CONFIG] => Array ( [php_session_id] => s:26:"n1nm36vou0r212nopdbji4daf1"; [version] => s:5:"2.4.1"; [config] => a:8:{s:8:"base_url";s:46:"http://www.noteplug.com/hybridauth/hybridauth/";s:9:"providers";a:9:{s:6:"OpenID";a:1:{s:7:"enabled";b:1;}s:5:"Yahoo";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:3:"key";s:0:"";s:6:"secret";s:0:"";}}s:3:"AOL";a:1:{s:7:"enabled";b:1;}s:6:"Google";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:2:"id";s:71:"69285958355-1sdlsdbpadujve407g0a5qilp74j3o4f.apps.googleusercontent.com";s:6:"secret";s:24:"NNcwXrTzLGNzMPvMiik5FzA9";}}s:8:"Facebook";a:3:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:2:"id";s:15:"931443073552692";s:6:"secret";s:32:"0d4f554a1bcf1a7329cafc498872a797";}s:14:"trustForwarded";b:0;}s:7:"Twitter";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:3:"key";s:25:"3NMNHCev3yrfrlw2U5e10qgs0";s:6:"secret";s:50:"LsR5J30cU83E2ptZy7x3pWRqiaYfxXQFNzRN1SNMSR7UOiSQLI";}}s:4:"Live";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:2:"id";s:0:"";s:6:"secret";s:0:"";}}s:8:"LinkedIn";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:3:"key";s:0:"";s:6:"secret";s:0:"";}}s:10:"Foursquare";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:2:"id";s:0:"";s:6:"secret";s:0:"";}}}s:10:"debug_mode";b:0;s:10:"debug_file";s:0:"";s:9:"path_base";s:67:"/home/jimi13/public_html/noteplug.com/hybridauth/hybridauth/Hybrid/";s:14:"path_libraries";s:78:"/home/jimi13/public_html/noteplug.com/hybridauth/hybridauth/Hybrid/thirdparty/";s:14:"path_resources";s:77:"/home/jimi13/public_html/noteplug.com/hybridauth/hybridauth/Hybrid/resources/";s:14:"path_providers";s:77:"/home/jimi13/public_html/noteplug.com/hybridauth/hybridauth/Hybrid/Providers/";} ) [HA::STORE] => Array ( ) )
This example show how users can login with providers using HybridAuth. It also show how to grab their profile, update their status or to grab their freinds list from services like facebook, twitter. If you want even more providers please goto to HybridAuth web site and download the Additional Providers Package. |
array(2) { ["HA::CONFIG"]=> array(3) { ["php_session_id"]=> string(34) "s:26:"n1nm36vou0r212nopdbji4daf1";" ["version"]=> string(12) "s:5:"2.4.1";" ["config"]=> string(1517) "a:8:{s:8:"base_url";s:46:"http://www.noteplug.com/hybridauth/hybridauth/";s:9:"providers";a:9:{s:6:"OpenID";a:1:{s:7:"enabled";b:1;}s:5:"Yahoo";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:3:"key";s:0:"";s:6:"secret";s:0:"";}}s:3:"AOL";a:1:{s:7:"enabled";b:1;}s:6:"Google";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:2:"id";s:71:"69285958355-1sdlsdbpadujve407g0a5qilp74j3o4f.apps.googleusercontent.com";s:6:"secret";s:24:"NNcwXrTzLGNzMPvMiik5FzA9";}}s:8:"Facebook";a:3:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:2:"id";s:15:"931443073552692";s:6:"secret";s:32:"0d4f554a1bcf1a7329cafc498872a797";}s:14:"trustForwarded";b:0;}s:7:"Twitter";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:3:"key";s:25:"3NMNHCev3yrfrlw2U5e10qgs0";s:6:"secret";s:50:"LsR5J30cU83E2ptZy7x3pWRqiaYfxXQFNzRN1SNMSR7UOiSQLI";}}s:4:"Live";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:2:"id";s:0:"";s:6:"secret";s:0:"";}}s:8:"LinkedIn";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:3:"key";s:0:"";s:6:"secret";s:0:"";}}s:10:"Foursquare";a:2:{s:7:"enabled";b:1;s:4:"keys";a:2:{s:2:"id";s:0:"";s:6:"secret";s:0:"";}}}s:10:"debug_mode";b:0;s:10:"debug_file";s:0:"";s:9:"path_base";s:67:"/home/jimi13/public_html/noteplug.com/hybridauth/hybridauth/Hybrid/";s:14:"path_libraries";s:78:"/home/jimi13/public_html/noteplug.com/hybridauth/hybridauth/Hybrid/thirdparty/";s:14:"path_resources";s:77:"/home/jimi13/public_html/noteplug.com/hybridauth/hybridauth/Hybrid/resources/";s:14:"path_providers";s:77:"/home/jimi13/public_html/noteplug.com/hybridauth/hybridauth/Hybrid/Providers/";}" } ["HA::STORE"]=> array(0) { } }