cesium-native  0.41.0
CesiumIonClient::Token Struct Reference

A Cesium ion access token. More...

#include <CesiumIonClient/Token.h>

Public Attributes

std::string id {}
 The identifier of the token.
 
std::string name {}
 The name of the token.
 
std::string token {}
 The token value.
 
std::string dateAdded {}
 The date and time that this token was created, in RFC 3339 format.
 
std::string dateModified {}
 The date and time that this token was last modified, in RFC 3339 format.
 
std::string dateLastUsed {}
 The date and time that this token was last used, in RFC 3339 format.
 
std::optional< std::vector< int64_t > > assetIds {}
 The IDs of the assets that can be accessed using this token. More...
 
bool isDefault {}
 True if this is the default token.
 
std::optional< std::vector< std::string > > allowedUrls {}
 The URLs from which this token can be accessed. More...
 
std::vector< std::string > scopes {}
 The scopes granted by this token.
 

Detailed Description

A Cesium ion access token.

Definition at line 12 of file Token.h.

Member Data Documentation

◆ allowedUrls

std::optional<std::vector<std::string> > CesiumIonClient::Token::allowedUrls {}

The URLs from which this token can be accessed.

If std::nullopt, the token can be accessed from any URL.

Definition at line 61 of file Token.h.

◆ assetIds

std::optional<std::vector<int64_t> > CesiumIonClient::Token::assetIds {}

The IDs of the assets that can be accessed using this token.

If std::nullopt, the token allows access to all assets.

Definition at line 49 of file Token.h.


The documentation for this struct was generated from the following file: