|
cesium-native 0.56.0
|
#include <CesiumClientCommon/JwtTokenUtility.h>
Static Public Member Functions | |
| static CesiumUtility::Result< rapidjson::Document > | parseTokenPayload (const std::string_view &tokenString) |
Utilities for handling JWT authentication tokens, like those used for Cesium ion and Bentley iTwin.
Definition at line 13 of file JwtTokenUtility.h.
|
static |
Parses the payload of the provided JWT token, returning a CesiumUtility::Result containing either the rapidjson::Document of the payload contents or an error.
| tokenString | The JWT token string to parse. |