Obsolete Members for QOAuth2AuthorizationCodeFlow

The following members of class QOAuth2AuthorizationCodeFlow are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Properties

Public Functions

(deprecated in 6.13) QUrl accessTokenUrl() const
(deprecated in 6.13) void setAccessTokenUrl(const QUrl &accessTokenUrl)

Public Slots

(deprecated in 6.13) void refreshAccessToken()

Signals

(deprecated) void accessTokenUrlChanged(const QUrl &accessTokenUrl)

Property Documentation

[deprecated in 6.9] accessTokenUrl : QUrl

This enumeration is deprecated since 6.9. We strongly advise against using it in new code.

Use QAbstractOAuth2::tokenUrl instead.

This property holds the URL used to convert the temporary code received during the authorization response.

See also: Access Token Request

Access functions:

QUrl accessTokenUrl() const
void setAccessTokenUrl(const QUrl &accessTokenUrl)

Notifier signal:

void accessTokenUrlChanged(const QUrl &accessTokenUrl)

Member Function Documentation

[deprecated in 6.13] QUrl QOAuth2AuthorizationCodeFlow::accessTokenUrl() const

This function is deprecated since 6.13. We strongly advise against using it in new code.

Use QAbstractOAuth2::tokenUrl() instead.

Returns the URL used to request the access token.

Note: Getter function for property accessTokenUrl.

See also setAccessTokenUrl().

[slot, deprecated in 6.13] void QOAuth2AuthorizationCodeFlow::refreshAccessToken()

This function is deprecated since 6.13. We strongly advise against using it in new code.

Use QAbstractOAuth2::refreshTokens() instead.

Call this function to refresh the token.

This function calls refreshTokensImplementation().

[deprecated in 6.13] void QOAuth2AuthorizationCodeFlow::setAccessTokenUrl(const QUrl &accessTokenUrl)

This function is deprecated since 6.13. We strongly advise against using it in new code.

Use QAbstractOAuth2::setTokenUrl() instead.

Sets the URL used to request the access token to accessTokenUrl.

Note: Setter function for property accessTokenUrl.

See also accessTokenUrl().

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.