Skip to content

PythonQt.QtNetwork.QAuthenticator · declarations 001

Back to PythonQt.QtNetwork.QAuthenticator

isNull

isNull() -> bool

X.isNull() -> bool

Supplemental documentation: Qt 5 reference:

bool QAuthenticator::isNull() const

Returns true if the object has not been initialized. Returns false if non-const member functions have been called, or the content was constructed or copied from another initialized QAuthenticator object.

Upstream PySide2 reference signatures (binding differences may apply):

isNull(self) -> bool

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#isNull

option

option(opt: str) -> Any

X.option(opt) -> object

Supplemental documentation: Qt 5 reference:

QVariant QAuthenticator::option(const QString \&opt) const

Returns the value related to option opt if it was set by the server. See the Options section for more information on incoming options. If option opt isn't found, an invalid QVariant will be returned.

This function was introduced in Qt 4.7.

See also setOption(), options(), and QAuthenticator options.

Upstream PySide2 reference signatures (binding differences may apply):

option(self, opt: str) -> typing.Any

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#option

options

options() -> dict

X.options() -> dict

Supplemental documentation: Qt 5 reference:

QVariantHash QAuthenticator::options() const

Returns all incoming options set in this QAuthenticator object by parsing the server reply. See the Options section for more information on incoming options.

This function was introduced in Qt 4.7.

See also option() and QAuthenticator options.

Upstream PySide2 reference signatures (binding differences may apply):

options(self) -> typing.Dict[str, typing.Any]

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#options

password

password() -> str

X.password() -> str

Supplemental documentation: Qt 5 reference:

QString QAuthenticator::password() const

Returns the password used for authentication.

See also setPassword().

Upstream PySide2 reference signatures (binding differences may apply):

password(self) -> str

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#password

realm

realm() -> str

X.realm() -> str

Supplemental documentation: Qt 5 reference:

QString QAuthenticator::realm() const

Returns the realm requiring authentication.

Upstream PySide2 reference signatures (binding differences may apply):

realm(self) -> str

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#realm

setOption

setOption(opt: str, value: Any) -> None

X.setOption(opt, value)

Supplemental documentation: Qt 5 reference:

void QAuthenticator::setOption(const QString \&opt, const QVariant \&value)

Sets the outgoing option opt to value value. See the Options section for more information on outgoing options.

This function was introduced in Qt 4.7.

See also options(), option(), and QAuthenticator options.

Upstream PySide2 reference signatures (binding differences may apply):

setOption(self, opt: str, value: typing.Any) -> None

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#setOption

setPassword

setPassword(password: str) -> None

X.setPassword(password)

Supplemental documentation: Qt 5 reference:

void QAuthenticator::setPassword(const QString \&password)

Sets the password used for authentication.

See also password() and QNetworkAccessManager::authenticationRequired().

Upstream PySide2 reference signatures (binding differences may apply):

setPassword(self, password: str) -> None

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#setPassword

setRealm

setRealm(realm: str) -> None

X.setRealm(realm)

Upstream PySide2 reference signatures (binding differences may apply):

setRealm(self, realm: str) -> None

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#setRealm

setUser

setUser(user: str) -> None

X.setUser(user)

Supplemental documentation: Qt 5 reference:

void QAuthenticator::setUser(const QString \&user)

Sets the user used for authentication.

See also user() and QNetworkAccessManager::authenticationRequired().

Upstream PySide2 reference signatures (binding differences may apply):

setUser(self, user: str) -> None

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#setUser

user

user() -> str

X.user() -> str

Supplemental documentation: Qt 5 reference:

QString QAuthenticator::user() const

Returns the user used for authentication.

See also setUser().

Upstream PySide2 reference signatures (binding differences may apply):

user(self) -> str

Source: https://doc.qt.io/archives/qt-5.15/qauthenticator.html#user