access tokenが取得できるように

This commit is contained in:
keita
2022-04-23 04:55:43 +09:00
parent d43e04506b
commit 560fe707a6
75 changed files with 591 additions and 193 deletions
+17
View File
@@ -0,0 +1,17 @@
#ifndef COCOATWEET_API_OAUTH1_REQUESTTOKEN_H
#define COCOATWEET_API_OAUTH1_REQUESTTOKEN_H
#include <cocoatweet/api/interface/httpPost.h>
#include <cocoatweet/api/model/oauthToken.h>
namespace CocoaTweet::API::OAuth1{
class RequestToken: public CocoaTweet::API::Interface::HttpPost {
public:
RequestToken();
void oauthCallback(const std::string& _oauthCallback);
CocoaTweet::API::Model::OAuthToken process(std::weak_ptr<CocoaTweet::Authentication::AuthenticatorBase> _oauth);
};
}
#endif