include guard
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#include <cocoatweet/api/api.h>
|
#include <cocoatweet/api/api.h>
|
||||||
#include <cocoatweet/authentication/authenticate.h>
|
#include <cocoatweet/authentication/oauth.h>
|
||||||
#include <cocoatweet/authentication/bearer.h>
|
#include <cocoatweet/authentication/bearer.h>
|
||||||
#include <cocoatweet/authentication/plain.h>
|
#include <cocoatweet/authentication/plain.h>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef COCOATWEET_API_OAUTH1_ACCESSTOKEN_H
|
#ifndef COCOATWEET_API_OAUTH1_ACCESSTOKEN_H_
|
||||||
#define COCOATWEET_API_OAUTH1_ACCESSTOKEN_H
|
#define COCOATWEET_API_OAUTH1_ACCESSTOKEN_H_
|
||||||
|
|
||||||
#include <cocoatweet/api/interface/httpPost.h>
|
#include <cocoatweet/api/interface/httpPost.h>
|
||||||
#include <cocoatweet/api/model/oauthToken.h>
|
#include <cocoatweet/api/model/oauthToken.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef COCOATWEET_API_OAUTH1_AUTHORIZE_H
|
#ifndef COCOATWEET_API_OAUTH1_AUTHORIZE_H_
|
||||||
#define COCOATWEET_API_OAUTH1_AUTHORIZE_H
|
#define COCOATWEET_API_OAUTH1_AUTHORIZE_H_
|
||||||
|
|
||||||
#include <cocoatweet/api/interface/httpPost.h>
|
#include <cocoatweet/api/interface/httpPost.h>
|
||||||
namespace CocoaTweet::API::OAuth1 {
|
namespace CocoaTweet::API::OAuth1 {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#include <cocoatweet/api/oauth1/oauth.h>
|
#include <cocoatweet/api/oauth1/oauth.h>
|
||||||
#include <cocoatweet/authentication/authenticate.h>
|
#include <cocoatweet/authentication/oauth.h>
|
||||||
|
|
||||||
namespace CocoaTweet::API::OAuth1 {
|
namespace CocoaTweet::API::OAuth1 {
|
||||||
OAuth::OAuth(std::shared_ptr<CocoaTweet::Authentication::AuthenticatorBase> _oauth) {
|
OAuth::OAuth(std::shared_ptr<CocoaTweet::Authentication::AuthenticatorBase> _oauth) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef COCOATWEET_API_OAUTH1_REQUESTTOKEN_H
|
#ifndef COCOATWEET_API_OAUTH1_REQUESTTOKEN_H_
|
||||||
#define COCOATWEET_API_OAUTH1_REQUESTTOKEN_H
|
#define COCOATWEET_API_OAUTH1_REQUESTTOKEN_H_
|
||||||
|
|
||||||
#include <cocoatweet/api/interface/httpPost.h>
|
#include <cocoatweet/api/interface/httpPost.h>
|
||||||
#include <cocoatweet/api/model/oauthToken.h>
|
#include <cocoatweet/api/model/oauthToken.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef COCOATWEET_API_OAUTH2_TOKEN_H
|
#ifndef COCOATWEET_API_OAUTH2_TOKEN_H_
|
||||||
#define COCOATWEET_API_OAUTH2_TOKEN_H
|
#define COCOATWEET_API_OAUTH2_TOKEN_H_
|
||||||
|
|
||||||
#include <cocoatweet/api/interface/httpPost.h>
|
#include <cocoatweet/api/interface/httpPost.h>
|
||||||
#include <cocoatweet/authentication/basic.h>
|
#include <cocoatweet/authentication/basic.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef COCOATWEET_AUTHENTICATION_AUTHENTICATORBASE_H
|
#ifndef COCOATWEET_AUTHENTICATION_AUTHENTICATOR_H_
|
||||||
#define COCOATWEET_AUTHENTICATION_AUTHENTICATORBASE_H
|
#define COCOATWEET_AUTHENTICATION_AUTHENTICATOR_H_
|
||||||
|
|
||||||
#include <cocoatweet/authentication/key.h>
|
#include <cocoatweet/authentication/key.h>
|
||||||
namespace CocoaTweet::Authentication {
|
namespace CocoaTweet::Authentication {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef COCOATWEET_OAUTH_KEY_H_
|
#ifndef COCOATWEET_AUTHENTICATION_KEY_H_
|
||||||
#define COCOATWEET_OAUTH_KEY_H_
|
#define COCOATWEET_AUTHENTICATION_KEY_H_
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
#include "authenticate.h"
|
#include "oauth.h"
|
||||||
#include "cocoatweet/util/util.h"
|
#include "cocoatweet/util/util.h"
|
||||||
#include <random>
|
#include <random>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
#ifndef COCOATWEET_EXCEPTION_CREDETIALNOTALLOWEDEXCEPTION_H_
|
#ifndef COCOATWEET_EXCEPTION_CREDENTIALNOTALLOWEDEXCEPTION_H_
|
||||||
#define COCOATWEET_EXCEPTION_CREDETIALNOTALLOWEDEXCEPTION_H_
|
#define COCOATWEET_EXCEPTION_CREDENTIALNOTALLOWEDEXCEPTION_H_
|
||||||
|
|
||||||
#include <cocoatweet/exception/exception.h>
|
#include <cocoatweet/exception/exception.h>
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
#include <cocoatweet/api/oauth1/authorize.h>
|
#include <cocoatweet/api/oauth1/authorize.h>
|
||||||
#include <cocoatweet/api/oauth1/accessToken.h>
|
#include <cocoatweet/api/oauth1/accessToken.h>
|
||||||
#include <cocoatweet/api/oauth2/token.h>
|
#include <cocoatweet/api/oauth2/token.h>
|
||||||
#include <cocoatweet/authentication/authenticate.h>
|
#include <cocoatweet/authentication/oauth.h>
|
||||||
|
|
||||||
auto main() -> int {
|
auto main() -> int {
|
||||||
// Generate Key object
|
// Generate Key object
|
||||||
|
|||||||
Reference in New Issue
Block a user