cesium-native 0.43.0
Loading...
Searching...
No Matches
Profile.h
1#pragma once
2
3#include <cstdint>
4#include <string>
5#include <vector>
6
7namespace CesiumIonClient {
8
12struct ProfileStorage final {
16 int64_t used = 0;
17
22 int64_t available = 0;
23
28 int64_t total = 0;
29};
30
36struct Profile final {
40 int64_t id = -1;
41
45 std::vector<std::string> scopes{};
46
50 std::string username{};
51
55 std::string email{};
56
60 bool emailVerified = false;
61
65 std::string avatar{};
66
72};
73
74} // namespace CesiumIonClient
Classes for working with Cesium ion clients.
Information about the amount of storage available in a user's account.
Definition Profile.h:12
int64_t total
The total number of bytes currently allowed to be used by this account.
Definition Profile.h:28
int64_t available
The number of bytes available for additional asset uploads to this account.
Definition Profile.h:22
int64_t used
The number of bytes currently being used by this account.
Definition Profile.h:16
Contains of a Cesium ion user.
Definition Profile.h:36
std::string email
The primary email address associated with this account.
Definition Profile.h:55
std::string username
The account username.
Definition Profile.h:50
bool emailVerified
If true, the email address has been verified for this account.
Definition Profile.h:60
std::string avatar
A url to the profile image associated with this account.
Definition Profile.h:65
std::vector< std::string > scopes
The array of scopes available with this token.
Definition Profile.h:45
ProfileStorage storage
Information about the amount of storage available in the user's account.
Definition Profile.h:71