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
+3 -3
View File
@@ -2,7 +2,7 @@
#define COCOATWEET_API_INTERFACE_HTTPPOST_H_
#include <functional>
#include "cocoatweet/oauth/oauth.h"
#include "cocoatweet/authentication/authenticator.h"
#include <cocoatweet/api/interface/httpBase.h>
namespace CocoaTweet::API::Interface {
@@ -11,11 +11,11 @@ class HttpPost : public HttpBase {
public:
protected:
/// @brief Send HTTP/POST using OAuth object
/// @param[in] std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth : pointer to OAuth object to
/// @param[in] std::weak_ptr<CocoaTweet::Authentication::AuthenticatorBase> _oauth : pointer to OAuth object to
/// authenticate
/// @param[in] std::function<void(const unsigned int, const std::string&)> _callback :
/// callback method for processing to response
void process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth,
void process(std::weak_ptr<CocoaTweet::Authentication::AuthenticatorBase> _oauth,
std::function<void(const std::string&)> _callback);
};
} // namespace CocoaTweet::API::Interface