olp-cpp-sdk  1.22.0
Public Attributes | List of all members
olp::authentication::AuthenticationClient::RefreshProperties Struct Reference

Used to generate a new access token and contains token values returned as a response to the user sign-in operation. More...

#include <AuthenticationClient.h>

Public Attributes

std::string access_token
 (Required) The access token value returned as a response to the user sign-in operation. More...
 
std::string refresh_token
 (Required) The refresh token value returned in the response of the user sign-in operation. More...
 
unsigned int expires_in {0}
 (Optional) The number of seconds left before the access token expires. More...
 

Detailed Description

Used to generate a new access token and contains token values returned as a response to the user sign-in operation.

Member Data Documentation

◆ access_token

std::string olp::authentication::AuthenticationClient::RefreshProperties::access_token

(Required) The access token value returned as a response to the user sign-in operation.

Must match the refresh token.

◆ expires_in

unsigned int olp::authentication::AuthenticationClient::RefreshProperties::expires_in {0}

(Optional) The number of seconds left before the access token expires.

It must be equal to or more than zero. Ignored if it is zero or greater than the default expiration time supported by the application.

◆ refresh_token

std::string olp::authentication::AuthenticationClient::RefreshProperties::refresh_token

(Required) The refresh token value returned in the response of the user sign-in operation.

Must match the access token.


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