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
+22
View File
@@ -0,0 +1,22 @@
#ifndef COCOATWEET_OAUTH_AUTHORIZE_H_
#define COCOATWEET_OAUTH_AUTHORIZE_H_
#include "cocoatweet/api/interface/groupInterface.h"
#include <vector>
#include <utility>
namespace CocoaTweet::Authentication{
class Auth: public groupInterface {
public:
enum AuthType { OAuth, Bearer };
Auth();
Auth(Key _key);
authorize(const bool app_only);
private:
Key key_;
}
}
#endif