Apache2-AuthAny

 view release on metacpan or  search on metacpan

google/redirect.php  view on Meta::CPAN

    
    // Add AX fetch request to authentication request
    $auth_request->addExtension($ax);

    $policy_uris;
    $max_auth_age = 1; // 1 second. Forces login with each request
    $pape_request = new Auth_OpenID_PAPE_Request($policy_uris, $max_auth_age);
    $auth_request->addExtension($pape_request);

    // Redirect the user to the OpenID server for authentication.
    // Store the token for this authentication so we can verify the
    // response.

    $redirect_url = $auth_request->redirectURL(getTrustRoot(),
                                               getReturnTo());

    // If the redirect URL can't be built, display an error
    // message.
    if (Auth_OpenID::isFailure($redirect_url)) {
        abortSignin("Could not connect to provider with '$redirect_url'");
    } else {



( run in 0.521 second using v1.01-cache-2.11-cpan-5467b0d2c73 )