QtRedmine
Public Member Functions | List of all members
qtredmine::PasswordAuthenticator Class Reference

Basic login and password authenticator. More...

#include <PasswordAuthenticator.h>

Inheritance diagram for qtredmine::PasswordAuthenticator:
qtredmine::Authenticator

Public Member Functions

 PasswordAuthenticator (QString login, QString password, QObject *parent=nullptr)
 Constructor. More...
 
virtual ~PasswordAuthenticator ()
 Destructor.
 
virtual void addAuthentication (QNetworkRequest *request)
 Add authentication header to request. More...
 
- Public Member Functions inherited from qtredmine::Authenticator
 Authenticator (QObject *parent=nullptr)
 Constructor. More...
 
virtual ~Authenticator ()
 Destructor.
 

Detailed Description

Basic login and password authenticator.

Adds an "Authorization" header using HTTP Basic authentication.

Constructor & Destructor Documentation

qtredmine::PasswordAuthenticator::PasswordAuthenticator ( QString  login,
QString  password,
QObject *  parent = nullptr 
)

Constructor.

Parameters
loginRedmine login
passwordRedmine password
parentParent QObject

Member Function Documentation

virtual void qtredmine::PasswordAuthenticator::addAuthentication ( QNetworkRequest *  request)
virtual

Add authentication header to request.

Parameters
requestRequest to add header to

Implements qtredmine::Authenticator.


The documentation for this class was generated from the following file: