예제 #1
0
파일: common.php 프로젝트: alx/pressid
/**
 * 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();
}
예제 #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);
}