QtRedmine
|
Basic login and password authenticator. More...
#include <PasswordAuthenticator.h>
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... | |
![]() | |
Authenticator (QObject *parent=nullptr) | |
Constructor. More... | |
virtual | ~Authenticator () |
Destructor. | |
Basic login and password authenticator.
Adds an "Authorization" header using HTTP Basic authentication.
qtredmine::PasswordAuthenticator::PasswordAuthenticator | ( | QString | login, |
QString | password, | ||
QObject * | parent = nullptr |
||
) |
Constructor.
login | Redmine login |
password | Redmine password |
parent | Parent QObject |
|
virtual |
Add authentication header to request.
request | Request to add header to |
Implements qtredmine::Authenticator.