QOAuth2AuthorizationCodeFlow Class
The QOAuth2AuthorizationCodeFlow class provides an implementation of the Authorization Code Grant flow. More...
| Header: | #include <QOAuth2AuthorizationCodeFlow> |
| qmake: | QT += networkauth |
| Since: | Qt 5.8 |
| Inherits: | QAbstractOAuth2 |
This class was introduced in Qt 5.8.
Properties
- accessTokenUrl : QUrl
Public Functions
| QUrl | accessTokenUrl() const |
| void | setAccessTokenUrl(const QUrl &accessTokenUrl) |
Signals
| void | accessTokenUrlChanged(const QUrl &accessTokenUrl) |
Detailed Description
This class implements the Authorization Code Grant flow, which is used both to obtain and to refresh access tokens. It is a redirection-based flow so the user will need access to a web browser.
Property Documentation
accessTokenUrl : QUrl
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) |