41 std::string
userId()
const;
48 std::optional<std::string>
deviceId()
const;
54 std::optional<bool>
isGuest()
const;
67 , std::string _accessToken
Definition: whoami.hpp:29
std::string userId() const
The user ID that owns the access token.
Definition: whoami.cpp:81
std::optional< std::string > deviceId() const
Device ID associated with the access token.
Definition: whoami.cpp:92
bool success() const
Definition: whoami.cpp:70
JobResponse(Response r)
Definition: whoami.cpp:67
std::optional< bool > isGuest() const
When true, the user is a Guest User.
Definition: whoami.cpp:103
Gets information about the owner of an access token.
Definition: whoami.hpp:23
static BaseJob::Query buildQuery()
Definition: whoami.cpp:13
GetTokenOwnerJob(std::string serverUrl, std::string _accessToken)
Gets information about the owner of an access token.
Definition: whoami.cpp:33
static BaseJob::Body buildBody()
Definition: whoami.cpp:21
static constexpr auto needsAuth()
Definition: whoami.hpp:57
GetTokenOwnerJob withData(JsonWrap j) &&
Definition: whoami.cpp:53
Definition: basejob.hpp:91
Definition: basejob.hpp:77
::Kazv::Body Body
Definition: basejob.hpp:100
Definition: jsonwrap.hpp:23
Definition: location.hpp:10
Definition: location.hpp:10
Definition: location.hpp:27
Definition: basejob.hpp:50