function parseExtensionArgs($args)
    {
        // preferred_auth_policies is a space-separated list of policy
        // URIs
        $this->preferred_auth_policies = array();

        $policies_str = Auth_OpenID::arrayGet($args, 'preferred_auth_policies');
        if ($policies_str) {
            foreach (explode(' ', $policies_str) as $uri) {
                if (!in_array($uri, $this->preferred_auth_policies)) {
                    $this->preferred_auth_policies[] = $uri;
                }
            }
        }

        // max_auth_age is base-10 integer number of seconds
        $max_auth_age_str = Auth_OpenID::arrayGet($args, 'max_auth_age');
        if ($max_auth_age_str) {
            $this->max_auth_age = Auth_OpenID::intval($max_auth_age_str);
        } else {
            $this->max_auth_age = null;
        }
    }
function parseExtensionArgs($args)
    {
        // preferred_auth_policies is a space-separated list of policy
        // URIs
        $this->preferred_auth_policies = array();

        $policies_str = Auth_OpenID::arrayGet($args, 'preferred_auth_policies');
        if ($policies_str) {
            foreach (explode(' ', $policies_str) as $uri) {
                if (!in_array($uri, $this->preferred_auth_policies)) {
                    $this->preferred_auth_policies[] = $uri;
                }
            }
        }

        // max_auth_age is base-10 integer number of seconds
        $max_auth_age_str = Auth_OpenID::arrayGet($args, 'max_auth_age');
        if ($max_auth_age_str) {
            $this->max_auth_age = Auth_OpenID::intval($max_auth_age_str);
        } else {
            $this->max_auth_age = null;
        }
    }
function parseExtensionArgs ( $ args ) { // preferred_auth_policies is a space-separated list of policy // URIs $ this -> preferred_auth_policies = array ( ) ; $ policies_str = Auth_OpenID :: arrayGet ( $ args , 'preferred_auth_policies' ) ; if ( $ policies_str ) { foreach ( explode ( ' ' , $ policies_str ) as $ uri ) { if ( ! in_array ( $ uri , $ this -> preferred_auth_policies ) ) { $ this -> preferred_auth_policies [ ] = $ uri ; } } } // max_auth_age is base-10 integer number of seconds $ max_auth_age_str = Auth_OpenID :: arrayGet ( $ args , 'max_auth_age' ) ; if ( $ max_auth_age_str ) { $ this -> max_auth_age = Auth_OpenID :: intval ( $ max_auth_age_str ) ; } else { $ this -> max_auth_age = null ; } }
Set the state of this request to be that expressed in these
PAPE arguments

@param args: The PAPE arguments without a namespace
Set the state of this request to be that expressed in these PAPE arguments