access_tokenの再発行が出来るように

This commit is contained in:
keita
2022-04-24 11:06:37 +09:00
parent 8010a6b553
commit 84ba888c3a
7 changed files with 52 additions and 3 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ void RequestToken::oauthCallback(const std::string& _oauthCallback) {
CocoaTweet::API::Model::OAuthToken RequestToken::process(
std::weak_ptr<CocoaTweet::Authentication::AuthenticatorBase> _oauth) {
auto key = oauth_.lock()->key();
auto key = _oauth.lock()->key();
key.authType(CocoaTweet::Authentication::Key::AUTH_TYPE::OAUTH10A);
auto oauth = std::make_shared<CocoaTweet::Authentication::OAuth1>(key);