Example #1
0
/**
 * Finish OpenID authentication. 
 *
 * @param string $action login action that is being performed
 * @uses do_action() Calls 'openid_finish_auth' hook action after processing the authentication response.
 */
function finish_openid($action)
{
    $identity_url = finish_openid_auth();
    do_action('openid_finish_auth', $identity_url);
    global $action;
    $action = openid_status();
}
Example #2
0
/**
 * Finish OpenID authentication.
 *
 * @param string $action login action that is being performed
 * @uses do_action() Calls 'openid_finish_auth' hook action after processing the authentication response.
 */
function finish_openid($action)
{
    $identity_url = finish_openid_auth();
    do_action('openid_finish_auth', $identity_url, $action);
}