cesium-native 0.46.0
Loading...
Searching...
No Matches
CesiumClientCommon::OAuth2TokenResponse Struct Reference

Tokens obtained from a successful OAuth2 authentication operation. More...

#include <CesiumClientCommon/OAuth2PKCE.h>

Public Attributes

std::string accessToken
 The access token returned. This can be used to authenticate requests.
 
std::optional< std::string > refreshToken
 The refresh token returned, if any.
 

Detailed Description

Tokens obtained from a successful OAuth2 authentication operation.

Definition at line 18 of file OAuth2PKCE.h.

Member Data Documentation

◆ accessToken

std::string CesiumClientCommon::OAuth2TokenResponse::accessToken

The access token returned. This can be used to authenticate requests.

Definition at line 23 of file OAuth2PKCE.h.

◆ refreshToken

std::optional<std::string> CesiumClientCommon::OAuth2TokenResponse::refreshToken

The refresh token returned, if any.

If provided, this can be used with OAuth2PKCE::refresh to obtain a new access token.

Definition at line 30 of file OAuth2PKCE.h.


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