|
QtRedmine
|
API key authenticator. More...
#include <KeyAuthenticator.h>
Public Member Functions | |
| KeyAuthenticator (QByteArray apiKey, QObject *parent=nullptr) | |
| Constructor. More... | |
| virtual | ~KeyAuthenticator () |
| 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. | |
API key authenticator.
Adds an "X-Redmine-API-Key" header with API key.
| qtredmine::KeyAuthenticator::KeyAuthenticator | ( | QByteArray | apiKey, |
| QObject * | parent = nullptr |
||
| ) |
Constructor.
| apiKey | Redmine API key |
| parent | Parent QObject |
|
virtual |
Add authentication header to request.
| request | Request to add header to |
Implements qtredmine::Authenticator.
1.8.11