QAuthenticator

class PyQt5.QtNetwork.QAuthenticator

C++ documentation