olp-cpp-sdk
1.22.0
|
Configures the TokenEndpoint
instance.
More...
#include <Settings.h>
Public Member Functions | |
Settings (AuthenticationCredentials credentials) | |
Creates the Settings instance. More... | |
Public Attributes | |
AuthenticationCredentials | credentials |
The access key ID and access key secret that you got from the HERE Account as a part of the onboarding or support process on the developer portal. | |
std::shared_ptr< http::Network > | network_request_handler |
The network instance that is used to internally operate with the HERE platform Services. | |
std::shared_ptr< thread::TaskScheduler > | task_scheduler |
(Optional) The TaskScheduler class that is used to manage the callbacks enqueue. | |
boost::optional< http::NetworkProxySettings > | network_proxy_settings |
(Optional) The configuration settings for the network layer. | |
std::string | token_endpoint_url |
(Optional) The server URL of the token endpoint. More... | |
bool | use_system_time {true} |
Uses system system time in authentication requests rather than requesting time from authentication server. More... | |
client::RetrySettings | retry_settings |
A collection of settings that controls how failed requests should be treated. | |
boost::optional< std::string > | scope |
(Optional) The scope to be assigned to an access token requests. | |
Configures the TokenEndpoint
instance.
Contains settings that customize the TokenEndpoint
class.
|
explicit |
Creates the Settings
instance.
credentials | Your access credentials to the HERE platform. |
std::string olp::authentication::Settings::token_endpoint_url |
(Optional) The server URL of the token endpoint.
oauth2/token
) are supported. bool olp::authentication::Settings::use_system_time {true} |
Uses system system time in authentication requests rather than requesting time from authentication server.
Default is true, which means system time is used.