From 891d57d200f55b91f80b6d3b4dd0c30479be6109 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 12 Apr 2016 18:40:52 -0400 Subject: Added basic ability to tweet --- src/auth.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/auth.h (limited to 'src/auth.h') diff --git a/src/auth.h b/src/auth.h new file mode 100644 index 0000000..ef07e81 --- /dev/null +++ b/src/auth.h @@ -0,0 +1,29 @@ +#ifndef AUTH_H_48EF85FD +#define AUTH_H_48EF85FD + +#include + +namespace twitter { + + class auth { + public: + void setConsumerKey(std::string _arg); + void setConsumerSecret(std::string _arg); + void setAccessKey(std::string _arg); + void setAccessSecret(std::string _arg); + + std::string getConsumerKey() const; + std::string getConsumerSecret() const; + std::string getAccessKey() const; + std::string getAccessSecret() const; + + private: + std::string _consumer_key; + std::string _consumer_secret; + std::string _access_key; + std::string _access_secret; + }; + +}; + +#endif /* end of include guard: AUTH_H_48EF85FD */ -- cgit 1.4.1