Qt Network Authorization

Qt Network Authorization provides a set of APIs that enable Qt applications to obtain limited access to online accounts and HTTP services without exposing users' passwords.

Currently, the supported authorization protocol is OAuth, versions 1 and 2.

Getting Started

To use Qt Network Authorization classes, add this directive into C++ files:

#include <QtNetworkAuth>

To link against the Qt Network Authorization module, add this line to the project file:

QT += network networkauth

Overview

The goal of this module is to provide a way to handle different authentication methods present on the Internet.

There are several authentication systems, including:

These systems allow the application developers to create applications which use external authentication servers provided by an Authorization Server. Users of these services need not worry about passing their credentials to suspicious applications. Instead, the credentials are entered in a known and trusted web interface.

Module Evolution

Changes to Qt Network Authorization lists important changes in the module API and functionality that were done for the Qt 6 series of Qt.

Licenses

Qt Network Authorization is available under commercial licenses from The Qt Company. In addition, it is available under the GNU General Public License, version 3. See Qt Licensing for further details.

Examples

API Reference

© 2020 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.