10Duke Enterprise C++ Client
|
#include <OAuthRefreshRequest.h>
Request to refresh OAuthState.
Public Member Functions | |
virtual std::unique_ptr< OAuthState > | execute () const =0 |
Executes the refresh request. | |
|
pure virtual |
Executes the refresh request.
The call is synchronous.
std::nested_exception | when the there is some nested cause |
tenduke::http::HTTPException | (or subclasses of it) when the server responds with HTTP error status code which does not indicate OAuth-error, e.g. 500 (internal server error) or 404 (not found = wrong endpoint configured) |
tenduke::json::JSONParsingException | when server response is not valid JSON |
tenduke::oauth::OAuthException | when the server response is not what we expected, e.g.
|
tenduke::oauth::OAuthServerError | when the server responds with an error |
tenduke::net::NetworkingException | (or subclasses of it) when networking error occurred, e.g.
|
Implemented in tenduke::oauth::DefaultOAuthRefreshRequest.