|
| FakeRequest (const std::string &scope, const std::map< std::string, std::string > &additionalParameters, uint64_t timeoutS, const std::shared_ptr< const tenduke::oauth::OAuthConfiguration > &configuration, const std::shared_ptr< tenduke::time::Clock > &clock, const std::shared_ptr< const tenduke::http::HTTPClient > &httpClient, const std::shared_ptr< const tenduke::http::HTTPResponseToException > &throwException, const std::shared_ptr< const tenduke::json::JSONParser > &jsonParser) |
|
void | letMeSleep () |
|
| DefaultOAuthDeviceFlowAuthorizationRequest (std::string scope, const std::map< std::string, std::string > &additionalParameters, std::uint64_t timeoutS, const std::shared_ptr< const tenduke::oauth::OAuthConfiguration > &configuration, const std::shared_ptr< tenduke::time::Clock > &clock, const std::shared_ptr< const tenduke::http::HTTPClient > &httpClient, const std::shared_ptr< const tenduke::http::HTTPResponseToException > &throwException, const std::shared_ptr< const tenduke::json::JSONParser > &jsonParser) |
| Constructs new instance.
|
|
tenduke::oauth::device::DeviceAuthorizationResponse | authorizationRequest () override |
| Performs Device Authorization Request.
|
|
std::unique_ptr< tenduke::oauth::OAuthState > | accessTokenRequest () override |
| Performs Device Access Token Request.
|
|
void | cancel () override |
| Marks the request canceled.
|
|
|
std::vector< std::chrono::milliseconds > | sleepTimes |
|
|
void | sleepFor (std::chrono::milliseconds slumbertime) override |
| Sleeps for given time.
|
|
◆ sleepFor()
void tenduke::test::oauth::device::FakeRequest::sleepFor |
( |
std::chrono::milliseconds |
slumbertime | ) |
|
|
inlineoverrideprotectedvirtual |
The documentation for this class was generated from the following file: