| 71 | } |
| 72 | |
| 73 | QString OAuthClient::postRequest( QString url, QString method, QHash<QString, QString> params ) |
| 74 | { |
| 75 | assert(!_tKey.isEmpty()); |
| 76 | assert(!_tSecret.isEmpty()); |
| 77 | |
| 78 | // otherwise, get the request token to obtain the access token |
| 79 | prepareParameters(url, method, params); |
| 80 | return postHttpRequest(url, params); |
| 81 | } |
| 82 | |
| 83 | bool OAuthClient::getRequestToken( QString requestTokenRequestUri, QString cKey, QString cSecret ) |
| 84 | { |
no test coverage detected