Searched refs:openid (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/
H A Dopenid.php11 * $openid = new LightOpenID;
12 * $openid->identity = 'ID supplied by user';
13 * header('Location: ' . $openid->authUrl());
19 * $openid = new LightOpenID;
20 * echo $openid->validate() ? 'Logged in.' : 'Failed';
26 * $openid->realm = (!empty($_SERVER['HTTPS']) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'];
27 * $openid->returnUrl = $openid->realm . $_SERVER['REQUEST_URI'];
28 * If you don't know their meaning, refer to any openid tutorial, or specification. Or just guess.
31 * To use them, specify $openid
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-php/
H A Dindex.php27 require_once 'lib/lightopenid/openid.php';
118 $openid = new LightOpenID(); variable
119 $userId = $openid->identity;
124 $openid->identity = 'https://www.google.com/accounts/o8/id';
125 $openid->required = array('namePerson/first', 'namePerson/last',
127 header('Location: ' . $openid->authUrl());
132 $userId = $openid->validate() ? $openid->identity : '';
134 $attributes = $openid->getAttributes();
263 'openid
[all...]

Completed in 196 milliseconds