Struct TokenResponse

Struct Documentation

struct TokenResponse

Token response following OAuth2 format @verifies REQ_INTEROP_087.

Public Functions

inline json to_json() const

Public Members

std::string access_token
std::string token_type = {"Bearer"}
int expires_in = {0}

Seconds until expiration.

std::optional<std::string> refresh_token
std::string scope

Role-based scope.