17 #ifndef MASTODON_CPP_EASY_TOKEN_HPP 18 #define MASTODON_CPP_EASY_TOKEN_HPP 22 #include "../../mastodon-cpp.hpp" 23 #include "../entity.hpp" 41 virtual bool valid()
const override;
62 const string scope()
const;
74 #endif // MASTODON_CPP_EASY_TOKEN_HPP const string access_token() const
Returns the access token.
Definition: token.cpp:33
Entity()
Constructs an empty Entity object.
Definition: entity.cpp:43
const Easy::time_type created_at() const
Returns the date of creation.
Definition: token.cpp:48
const string scope() const
Returns the scope of the token.
Definition: token.cpp:43
const string token_type() const
Returns the token type.
Definition: token.cpp:38
Class to hold applications.
Definition: token.hpp:36
Type for time. Converts to time_point and string.
Definition: types_easy.hpp:150
virtual bool valid() const override
Returns true if the Entity holds valid data.
Definition: token.cpp:22
Collection of things to interface with server software that implements the Mastodon API.
Definition: mastodon-cpp.hpp:47
Base class for all entities.
Definition: entity.hpp:36