cesium-native
0.41.0
ApplicationData.h
1
#pragma once
2
3
#include <cstdint>
4
#include <string>
5
6
namespace
CesiumIonClient
{
7
11
enum
AuthenticationMode
{
15
CesiumIon
,
22
Saml
,
29
SingleUser
30
};
31
37
struct
ApplicationData
{
41
AuthenticationMode
authenticationMode
;
42
47
std::string
dataStoreType
;
48
52
std::string
attribution
;
53
54
bool
needsOauthAuthentication()
const
{
55
return
this->authenticationMode != AuthenticationMode::SingleUser;
56
}
57
};
58
59
}
// namespace CesiumIonClient
CesiumIonClient
Classes for working with Cesium ion clients.
Definition:
ApplicationData.h:6
CesiumIonClient::AuthenticationMode
AuthenticationMode
An enumeration representing the values of ApplicationData::authenticationMode.
Definition:
ApplicationData.h:11
CesiumIonClient::SingleUser
@ SingleUser
Definition:
ApplicationData.h:29
CesiumIonClient::Saml
@ Saml
Definition:
ApplicationData.h:22
CesiumIonClient::CesiumIon
@ CesiumIon
Definition:
ApplicationData.h:15
CesiumIonClient::ApplicationData
Data retrieved from the Cesium ion server via an "appData" request from Cesium ion....
Definition:
ApplicationData.h:37
CesiumIonClient::ApplicationData::attribution
std::string attribution
Definition:
ApplicationData.h:52
CesiumIonClient::ApplicationData::authenticationMode
AuthenticationMode authenticationMode
Definition:
ApplicationData.h:41
CesiumIonClient::ApplicationData::dataStoreType
std::string dataStoreType
Definition:
ApplicationData.h:47
CesiumIonClient
include
CesiumIonClient
ApplicationData.h
Generated by
1.9.1