function openid_authentication_page

Menu callback; Process an OpenID authentication.

1 string reference to 'openid_authentication_page'
openid_menu in modules/openid/openid.module
Implements hook_menu().

File

modules/openid/openid.pages.inc, line 11

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();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.