HomeSort by relevance Sort by last modified time
    Searched refs:openid (Results 1 - 3 of 3) sorted by null

  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/
index.php 4 * program logs the user in with Google's Federated Login API (OpenID), fetches
12 * This code makes use of a popup ui extension to the OpenID protocol. Instead
28 require_once 'lib/lightopenid/openid.php';
119 $openid = new LightOpenID(); variable
120 $userId = $openid->identity;
122 // This section performs the OpenID dance with the normal redirect. Use it
125 $openid->identity = 'https://www.google.com/accounts/o8/id';
126 $openid->required = array('namePerson/first', 'namePerson/last',
128 header('Location: ' . $openid->authUrl());
133 $userId = $openid->validate() ? $openid->identity : ''
    [all...]
popuplib.js 16 // PopupManager is a library to facilitate integration with OpenID
25 // (the openid.ns parameter) and the extensions based on what
27 // OpenID libraries can often discover these properties
55 'identifier_select' : 'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select',
56 'namespace2' : 'http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0'
152 // var openidParams = { realm : 'openid.realm', returnToUrl : 'openid.return_to',
153 // opEndpoint : 'openid.op_endpoint', onCloseHandler : myLoginCheckFunction,
156 // Here extensions include any OpenID extensions that you support. For instance,
161 // 'openid.ax.ns' : 'http://openid.net/srv/ax/1.0'
    [all...]
  /external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/lightopenid/
openid.php 3 * This class provides a simple interface for OpenID (1.1 and 2.0) authentication.
8 * Sign-on with OpenID is a two step process:
11 * $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']
    [all...]

Completed in 405 milliseconds