QtRestClient  3.0.0
A library for generic JSON-based REST-APIs, with a mechanism to map JSON to Qt objects
Public Member Functions | List of all members
QtRestClient::Auth::AuthExtender Class Reference

An extender that adds OAuth information to a request. More...

#include <authrequestbuilder.h>

+ Inheritance diagram for QtRestClient::Auth::AuthExtender:

Public Member Functions

 AuthExtender (QAbstractOAuth *oAuth)
 Constructs the extender from an abstract OAuth interface.
 
bool requiresBody () const override
 Specifies, whether extendRequest() always requires the body parameter.
 
void extendRequest (QNetworkRequest &request, QByteArray &verb, QByteArray *body) const override
 Perform additional operations on the request.
 
- Public Member Functions inherited from QtRestClient::RequestBuilder::IExtender
virtual void extendUrl (QUrl &url) const
 Perform additional operations on the URL.
 

Detailed Description

An extender that adds OAuth information to a request.

Definition at line 17 of file authrequestbuilder.h.


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