olp-cpp-sdk
1.22.0
|
A response to your sign-in operation. More...
#include <SignInUserResult.h>
Public Member Functions | |
~SignInUserResult () override | |
A default destructor. | |
SignInUserResult () noexcept | |
A default constructor. | |
const std::string & | GetTermAcceptanceToken () const |
Gets the terms acceptance token. More... | |
const std::string & | GetTermsOfServiceUrl () const |
Gets the URL of the terms of service. More... | |
const std::string & | GetTermsOfServiceUrlJson () const |
Gets the URL of the most recent JSON version of the terms of service. More... | |
const std::string & | GetPrivatePolicyUrl () const |
Gets the most recent privacy policy URL. More... | |
const std::string & | GetPrivatePolicyUrlJson () const |
Gets the URL of the most recent privacy policy JSON. More... | |
![]() | |
virtual | ~SignInResult () |
A default destructor. | |
SignInResult () noexcept | |
A default constructor. | |
int | GetStatus () const |
Gets an HTTP status code. More... | |
const ErrorResponse & | GetErrorResponse () const |
Gets an error description. More... | |
const ErrorFields & | GetErrorFields () const |
Gets a list of all specific input field errors. More... | |
const std::string & | GetFullMessage () const |
Gets a full response message. More... | |
const std::string & | GetAccessToken () const |
Gets an access token. More... | |
const std::string & | GetTokenType () const |
Gets the access token type. More... | |
const std::string & | GetRefreshToken () const |
Gets a refresh token. More... | |
time_t | GetExpiryTime () const |
Gets the access token expiry time. More... | |
std::chrono::seconds | GetExpiresIn () const |
Gets the access token expiry time. More... | |
const std::string & | GetUserIdentifier () const |
Gets the HERE Account user identifier. More... | |
const std::string & | GetScope () const |
Gets the scope that is assigned to the access token. More... | |
Friends | |
class | AuthenticationClientImpl |
A response to your sign-in operation.
If the HTTP status of 412 (PRECONDITION_FAILED) or 201 (CREATED) is returned, the response returns terms of re-acceptance. Not to receive this response again, accept the latest terms for your country.
const std::string& olp::authentication::SignInUserResult::GetPrivatePolicyUrl | ( | ) | const |
Gets the most recent privacy policy URL.
const std::string& olp::authentication::SignInUserResult::GetPrivatePolicyUrlJson | ( | ) | const |
Gets the URL of the most recent privacy policy JSON.
const std::string& olp::authentication::SignInUserResult::GetTermAcceptanceToken | ( | ) | const |
Gets the terms acceptance token.
const std::string& olp::authentication::SignInUserResult::GetTermsOfServiceUrl | ( | ) | const |
Gets the URL of the terms of service.
const std::string& olp::authentication::SignInUserResult::GetTermsOfServiceUrlJson | ( | ) | const |
Gets the URL of the most recent JSON version of the terms of service.