1#ifndef TENDUKE_OAUTH_OAUTHTOKENRESPONSE_H
2#define TENDUKE_OAUTH_OAUTHTOKENRESPONSE_H
4#include "json/JSONObject.h"
Encapsulates results from tenduke::oauth::OAuthTokenRequest.
Definition OAuthTokenResponse.h:16
const std::string accessToken
OAuth access token.
Definition OAuthTokenResponse.h:37
OAuthTokenResponse(std::string accessToken, std::string refreshToken, const std::int64_t expiresAt, std::shared_ptr< tenduke::json::JSONObject > additionalProperties)
Constructs new instance.
Definition OAuthTokenResponse.h:25
const std::int64_t expiresAt
Time (epoch seconds) when the access token expires.
Definition OAuthTokenResponse.h:47
std::shared_ptr< tenduke::json::JSONObject > additionalProperties
Additional response properties.
Definition OAuthTokenResponse.h:49
const std::string refreshToken
Refresh token.
Definition OAuthTokenResponse.h:39
static const std::int64_t NO_EXPIRES_IN
Magic value to indicate that the response did not contain expires_in.
Definition OAuthTokenResponse.h:34
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7