Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Anyone know how to sign an authorized request using KQOAuth Library??

$
0
0
When sending an authenticated request I do these steps:   oauthRequest->setConsumerKey(CONSUMER_KEY);     oauthRequest->setConsumerSecretKey(CONSUMER_SECRET);     oauthRequest->setToken(ACCESS_TOKEN);     oauthRequest->setTokenSecret(ACCESS_TOKEN_SECRET);       oauthRequest->setHttpMethod(KQOAuthRequest::GET);   oauthRequest->setSignatureMethod(KQOAuthRequest::HMAC_SHA1);       QUrl requestEndpoint("https://stream.tradeking.com/v1/market/quotes.xml?symbols=TSLA");       KQOAuthParameters params;   params.insert("blah", "blah, blah!");     HOW DO I SIGN THE REQUEST AT THIS POINT? (already set the signature method above)     oauthManager->sendAuthorizedRequest(requestEndpoint, requestParameters);

Viewing all articles
Browse latest Browse all 13965

Trending Articles