To extract private class members with Doxygen, you can use the EXTRACT_PRIVATE configuration option in your Doxygen configuration file. By setting this option to YES, Doxygen will generate documentation for all private members of a class, including variables, functions, and types.Additionally, you can use the INTERNAL_DOCS configuration option to specify whether you want to include documentation for private members in the generated output.