protected function validateRequiredAttributes()
    {
        if (!empty($this->requiredAttributes)) {
            $attributes = $this->fetchAttributes();
            foreach ($this->requiredAttributes as $openIdAttributeName) {
                if (!isset($attributes[$openIdAttributeName])) {
                    return false;
                }
            }
        }

        return true;
    }
protected function validateRequiredAttributes()
    {
        if (!empty($this->requiredAttributes)) {
            $attributes = $this->fetchAttributes();
            foreach ($this->requiredAttributes as $openIdAttributeName) {
                if (!isset($attributes[$openIdAttributeName])) {
                    return false;
                }
            }
        }

        return true;
    }
protected function validateRequiredAttributes ( ) { if ( ! empty ( $ this -> requiredAttributes ) ) { $ attributes = $ this -> fetchAttributes ( ) ; foreach ( $ this -> requiredAttributes as $ openIdAttributeName ) { if ( ! isset ( $ attributes [ $ openIdAttributeName ] ) ) { return false ; } } } return true ; }
Checks if all required attributes are present in the server response.
@return bool whether all required attributes are present.
Checks if all required attributes are present in the server response .