cesium-native 0.44.2
Loading...
Searching...
No Matches
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.
 
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.
 
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.

◆ dateAdded

std::string CesiumIonClient::Token::dateAdded {}

The date and time that this token was created, in RFC 3339 format.

Definition at line 31 of file Token.h.

◆ dateLastUsed

std::string CesiumIonClient::Token::dateLastUsed {}

The date and time that this token was last used, in RFC 3339 format.

Definition at line 42 of file Token.h.

◆ dateModified

std::string CesiumIonClient::Token::dateModified {}

The date and time that this token was last modified, in RFC 3339 format.

Definition at line 37 of file Token.h.

◆ id

std::string CesiumIonClient::Token::id {}

The identifier of the token.

Definition at line 16 of file Token.h.

◆ isDefault

bool CesiumIonClient::Token::isDefault {}

True if this is the default token.

Definition at line 54 of file Token.h.

◆ name

std::string CesiumIonClient::Token::name {}

The name of the token.

Definition at line 21 of file Token.h.

◆ scopes

std::vector<std::string> CesiumIonClient::Token::scopes {}

The scopes granted by this token.

Definition at line 66 of file Token.h.

◆ token

std::string CesiumIonClient::Token::token {}

The token value.

Definition at line 26 of file Token.h.


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