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.

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