Qt Documentation (Technology Preview) | Qt Network Authorization

Qt 5.9.3 Reference Documentation

# 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:

- OAuth 1
- OAuth 2
- OpenID
- OpenID Connect
- Mozilla Persona

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.

## Examples

- Qt Network Authorization Examples

## API Reference

- C++ Classes