This commit is contained in:
keita
2022-04-23 21:09:18 +09:00
parent 1a1ccdca27
commit 8010a6b553
3 changed files with 1 additions and 35 deletions
+1 -2
View File
@@ -1,8 +1,8 @@
#include <cocoatweet/api/oauth1/accessToken.h>
#include <cocoatweet/util/util.h>
#include <iostream>
#include <cocoatweet/authentication/oauth.h>
namespace CocoaTweet::API::OAuth1 {
AccessToken::AccessToken() {
contentType_ = "application/x-www-form-urlencoded";
@@ -34,7 +34,6 @@ const CocoaTweet::API::Model::OAuthToken AccessToken::process(
if (mp.count("oauth_token_secret")) {
oauthToken.oauthTokenSecret(mp.at("oauth_token_secret"));
}
std::cout << _rcv << std::endl;
});
return oauthToken;
}
@@ -1,6 +1,5 @@
#include <cocoatweet/api/oauth1/requestToken.h>
#include <cocoatweet/util/util.h>
#include <iostream>
#include <cocoatweet/authentication/oauth.h>
namespace CocoaTweet::API::OAuth1 {
@@ -28,7 +27,6 @@ CocoaTweet::API::Model::OAuthToken RequestToken::process(
if (mp.count("oauth_token_secret")) {
oauthToken.oauthTokenSecret(mp.at("oauth_token_secret"));
}
std::cout << _rcv << std::endl;
});
return oauthToken;
}