function setAllowedTypes($allowed_types)
    {
        foreach ($allowed_types as $pair) {
            list($assoc_type, $session_type) = $pair;
            if (!Auth_OpenID_checkSessionType($assoc_type, $session_type)) {
                return false;
            }
        }

        $this->allowed_types = $allowed_types;
        return true;
    }
function setAllowedTypes($allowed_types)
    {
        foreach ($allowed_types as $pair) {
            list($assoc_type, $session_type) = $pair;
            if (!Auth_OpenID_checkSessionType($assoc_type, $session_type)) {
                return false;
            }
        }

        $this->allowed_types = $allowed_types;
        return true;
    }
function setAllowedTypes ( $ allowed_types ) { foreach ( $ allowed_types as $ pair ) { list ( $ assoc_type , $ session_type ) = $ pair ; if ( ! Auth_OpenID_checkSessionType ( $ assoc_type , $ session_type ) ) { return false ; } } $ this -> allowed_types = $ allowed_types ; return true ; }
Set the allowed association types, checking to make sure each
combination is valid.

@access private
@param array $allowed_types
@return bool
Set the allowed association types checking to make sure each combination is valid .