openid_authentication_page
function openid_authentication_page
openid_authentication_page()
Menu callback; Process an OpenID authentication.
File
- modules/openid/openid.pages.inc, line 11
- User page callbacks for the openid module.
Code
function openid_authentication_page() { $result = openid_complete(); switch ($result['status']) { case 'success': return openid_authentication($result); case 'failed': drupal_set_message(t('OpenID login failed.'), 'error'); break; case 'cancel': drupal_set_message(t('OpenID login cancelled.')); break; } drupal_goto(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!openid!openid.pages.inc/function/openid_authentication_page/7.x