Files
CocoaTweet/src/cocoatweet/api/oauth2/oauth2.h
T
2022-04-23 18:04:03 +09:00

27 lines
785 B
C++

#ifndef COCOATWEET_API_OAUTH2_OAUTH2_H_
#define COCOATWEET_API_OAUTH2_OAUTH2_H_
#include "cocoatweet/api/interface/groupInterface.h"
#include <cocoatweet/api/oauth2/token.h>
#include <cocoatweet/api/model/oauthToken.h>
#include <vector>
#include <utility>
namespace CocoaTweet::API::OAuth2 {
/// @brief class for using users/show endpoint
class OAuth2 : public groupInterface {
public:
/// @brief primary constructor
OAuth2() = default;
/// @brief constructor which finally should to be called.
/// @param[in] std::shared_ptr<CocoaTweet::Authentication::AuthenticatorBase> : pointer to
/// OAuth object
OAuth2(std::shared_ptr<CocoaTweet::Authentication::AuthenticatorBase> _oauth);
const std::string token() const;
};
} // namespace CocoaTweet::API::OAuth2
#endif