芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/status.pulsehost.co.uk/vendor/hybridauth/hybridauth/examples/example_04.php
Hybridauth\HttpClient\Util::getCurrentUrl(), 'openid_identifier' => 'https://open.login.yahooapis.com/openid20/www.yahoo.com/xrds', // 'openid_identifier' => 'https://openid.stackexchange.com/', // 'openid_identifier' => 'http://steamcommunity.com/openid', // etc. ]; try { $adapter = new Hybridauth\Provider\OpenID($config); $adapter->authenticate(); $tokens = $adapter->getAccessToken(); $userProfile = $adapter->getUserProfile(); // print_r($tokens); // print_r($userProfile); $adapter->disconnect(); } catch (Exception $e) { echo $e->getMessage(); }