Kevin Ring
4194e31a10
sizeof(uint32_t) instead of 4. Tweak test comment.
2023-08-24 15:57:22 +10:00
Kevin Ring
a495c7e88d
Formatting.
2023-08-04 19:49:44 +10:00
Kevin Ring
53ed812fe3
Add test for fillWithRandomBytes.
2023-08-04 19:28:53 +10:00
Kevin Ring
f54556704e
Restore compatibility with non-Windows platforms.
2023-08-04 18:26:18 +10:00
Kevin Ring
335ea90678
Hackily get cesium-native compiling on UWP.
2023-08-04 08:53:12 +10:00
Kevin Ring
fe2ff2e939
Fix clang warning.
2022-01-28 17:10:15 +11:00
Kevin Ring
2da364a3f6
Fix base64 decoding of ion tokens that require padding.
2022-01-28 10:17:27 +11:00
Kevin Ring
4c56014fdc
Merge remote-tracking branch 'origin/asset-accessor-verb' into load-error-reporting
2022-01-20 11:18:25 +11:00
Kevin Ring
f498c631de
startRequest -> reqest.
2022-01-20 11:08:23 +11:00
Kevin Ring
518b7cbaf0
Rename IAssetAccessor methods, allow use of any verb.
2022-01-20 11:00:29 +11:00
Kevin Ring
588cad930f
Formatting.
2022-01-19 12:13:54 +11:00
Kevin Ring
007af04991
Fix token ID extraction.
2022-01-18 20:24:44 +11:00
Kevin Ring
f6168c8754
Add find getIdFromToken method.
2022-01-18 16:08:59 +11:00
Kevin Ring
a6c7fa3934
Add token service.
2021-12-21 23:29:24 +11:00
Kevin Ring
11eae10d2c
Rename requestAsset->get, post->startRequest (and supoprt any verb)
2021-12-14 22:30:04 +11:00
Kevin Ring
5d68828888
Add missing file.
2021-12-14 15:27:09 +11:00
Kevin Ring
524df0cf9e
Better token paging.
2021-12-14 15:26:26 +11:00
Kevin Ring
38d168aad8
Switch to ion tokens API v2.
2021-12-13 15:56:54 +11:00
Sean Lilley
2cdcb92e20
Namespace cleanup
2021-12-02 18:34:22 -05:00
Marco Hutter
27fdd26e27
Merge remote-tracking branch 'origin/main' into include-style-fixes
...
# Conflicts:
# Cesium3DTilesSelection/include/Cesium3DTilesSelection/GltfContent.h
# Cesium3DTilesSelection/src/Batched3DModelContent.cpp
# Cesium3DTilesSelection/src/CompositeContent.cpp
# Cesium3DTilesSelection/src/ExternalTilesetContent.cpp
# Cesium3DTilesSelection/src/GltfContent.cpp
# Cesium3DTilesSelection/src/QuantizedMeshContent.cpp
# Cesium3DTilesSelection/src/Tile.cpp
# Cesium3DTilesSelection/src/TileContentFactory.cpp
# Cesium3DTilesSelection/src/calcQuadtreeMaxGeometricError.h
2021-09-28 14:38:33 +02:00
Kevin Ring
62ff744d4f
Treat `<something.h>` as third-party include.
2021-09-27 10:46:26 +10:00
Marco Hutter
0e827f7afd
Updated includes based on clang-format with Regroup
...
This MAINLY inserted some blank lines between
the blocks.
2021-09-26 17:46:27 +02:00
Marco Hutter
8abb3141ae
Remove const from another rvalue reference parameter
2021-09-22 15:47:43 +02:00
Marco Hutter
00847ed17f
Include style fixes for CesiumIonClient
2021-09-19 15:24:32 +02:00
Marco Hutter
6a5e0d3d48
Added missing const for reference parameters
...
C26460: The reference argument ... for function ... can be marked as const
2021-09-15 17:43:42 +02:00
Marco Hutter
de8145ab9e
Added missing const keyword
...
C26496: The variable ... is assigned only once, mark it as const
2021-09-15 15:37:29 +02:00
Kevin Ring
a1ebce1dcd
Allow direct creation of a Promise.
...
Rather than the JavaScript-like create a future by providing a callback
that is given a promise. This can be less exception safe (allow
exceptions to escape from a Future-returning method instead of being
turned into Promise rejection) but also tends to be much easier to work
with.
2021-07-07 14:12:15 +10:00
Kevin Ring
355c486683
Make Future::wait return T and throw on reject.
2021-07-06 23:29:59 +10:00
Marco Hutter
fbea991d2d
Formatting
2021-04-16 21:56:15 +02:00
Marco Hutter
bbf2400baa
Handle denied access with sensible message
2021-04-16 21:55:27 +02:00
Marco Hutter
4a5b6a77ed
Connection error message improvements
2021-04-16 21:34:25 +02:00
Kevin Ring
b2c6b29b6c
Add method to get a single asset from ion.
2021-03-18 18:52:49 +11:00
Shehzan Mohammed
8a2957d32f
Run clang format
2021-03-08 20:39:46 -05:00
Marco Hutter
f1078aeb4c
Use bytes for raw data
2021-03-04 17:22:38 +01:00
Kevin Ring
1a62ae6dc4
Fix Clang and GCC errors.
2021-02-28 23:10:53 +11:00
Kevin Ring
1f2eb257ef
Implement PKCE.
2021-02-28 22:51:57 +11:00
Kevin Ring
92eb8ae1de
Include `state` in OAuth2 handshake.
2021-02-28 22:12:56 +11:00
Kevin Ring
2dc61d90c4
CesiumIonClient doc.
2021-02-26 21:36:29 +11:00
Kevin Ring
415de32231
Better names, remove old code.
2021-02-26 17:03:45 +11:00
Kevin Ring
5b616af8b0
Ion auth via OAuth2.
2021-02-25 22:48:22 +11:00
Kevin Ring
2e42fd45fb
Adjust for recent changes in master.
2021-02-24 13:54:33 +11:00
Kevin Ring
bb882a15f4
Support listing and creating tokens.
2021-02-15 23:49:04 +11:00
Kevin Ring
a837e5b49f
Fix field name.
2021-02-11 14:19:04 +11:00
Kevin Ring
38a59039ea
Add support for ion assets service.
2021-02-10 22:12:22 +11:00
Kevin Ring
d10bd2a16d
Move JsonHelps to CesiumUtility, at ion "me" service.
2021-02-09 22:50:18 +11:00
Kevin Ring
f7caafa626
Add CesiumIonClient library.
...
Also move Uri to CesiumUtility, and add a `post` method to
`IAssetAccessor`.
2021-02-08 21:59:53 +11:00