olp-cpp-sdk
1.22.0
|
A response to a client or user sign-in operation. More...
#include <SignInResult.h>
Public Member Functions | |
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 | SignInUserResult |
class | AuthenticationClientImpl |
class | TokenEndpointImpl |
A response to a client or user sign-in operation.
const std::string& olp::authentication::SignInResult::GetAccessToken | ( | ) | const |
Gets an access token.
const ErrorFields& olp::authentication::SignInResult::GetErrorFields | ( | ) | const |
Gets a list of all specific input field errors.
const ErrorResponse& olp::authentication::SignInResult::GetErrorResponse | ( | ) | const |
Gets an error description.
std::chrono::seconds olp::authentication::SignInResult::GetExpiresIn | ( | ) | const |
Gets the access token expiry time.
time_t olp::authentication::SignInResult::GetExpiryTime | ( | ) | const |
Gets the access token expiry time.
const std::string& olp::authentication::SignInResult::GetFullMessage | ( | ) | const |
Gets a full response message.
const std::string& olp::authentication::SignInResult::GetRefreshToken | ( | ) | const |
Gets a refresh token.
const std::string& olp::authentication::SignInResult::GetScope | ( | ) | const |
Gets the scope that is assigned to the access token.
int olp::authentication::SignInResult::GetStatus | ( | ) | const |
Gets an HTTP status code.
const std::string& olp::authentication::SignInResult::GetTokenType | ( | ) | const |
Gets the access token type.
const std::string& olp::authentication::SignInResult::GetUserIdentifier | ( | ) | const |
Gets the HERE Account user identifier.