static function fromSuccessResponse($success_response)
    {
        $obj = new Auth_OpenID_PAPE_Response();

        // PAPE requires that the args be signed.
        $args = $success_response->getSignedNS(Auth_OpenID_PAPE_NS_URI);

        if ($args === null || $args === array()) {
            return null;
        }

        $result = $obj->parseExtensionArgs($args);

        if ($result === false) {
            return null;
        } else {
            return $obj;
        }
    }
static function fromSuccessResponse($success_response)
    {
        $obj = new Auth_OpenID_PAPE_Response();

        // PAPE requires that the args be signed.
        $args = $success_response->getSignedNS(Auth_OpenID_PAPE_NS_URI);

        if ($args === null || $args === array()) {
            return null;
        }

        $result = $obj->parseExtensionArgs($args);

        if ($result === false) {
            return null;
        } else {
            return $obj;
        }
    }
static function fromSuccessResponse ( $ success_response ) { $ obj = new Auth_OpenID_PAPE_Response ( ) ; // PAPE requires that the args be signed. $ args = $ success_response -> getSignedNS ( Auth_OpenID_PAPE_NS_URI ) ; if ( $ args === null || $ args === array ( ) ) { return null ; } $ result = $ obj -> parseExtensionArgs ( $ args ) ; if ( $ result === false ) { return null ; } else { return $ obj ; } }
Create an Auth_OpenID_PAPE_Response object from a successful
OpenID library response.

@param Auth_OpenID_SuccessResponse $success_response A SuccessResponse
from Auth_OpenID_Consumer::complete()

@return Auth_OpenID_PAPE_Response A provider authentication policy response from the
data that was supplied with the id_res response.
Create an Auth_OpenID_PAPE_Response object from a successful OpenID library response .