10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
HTTPResponseToOAuthException.h
1
#ifndef TENDUKE_OAUTH_HTTPRESPONSETOOAUTHEXCEPTION_H
2
#define TENDUKE_OAUTH_HTTPRESPONSETOOAUTHEXCEPTION_H
3
4
#include "http/HTTPResponseToException.h"
5
#include "json/JSONParser.h"
6
#include <memory>
7
8
namespace
tenduke
{
namespace
oauth
{
9
21
class
HTTPResponseToOAuthException
:
public
tenduke::http::HTTPResponseToException
22
{
23
public
:
28
explicit
HTTPResponseToOAuthException
(
const
std::shared_ptr<const tenduke::json::JSONParser> &parseJson);
29
30
protected
:
35
void
from4xx
(http::HTTPResponse &response)
const override
;
36
37
private
:
38
const
std::shared_ptr<const tenduke::json::JSONParser> parseJSON;
39
};
40
41
}}
42
43
#endif
//TENDUKE_OAUTH_HTTPRESPONSETOOAUTHEXCEPTION_H
HTTPResponseToOAuthException::HTTPResponseToOAuthException
HTTPResponseToOAuthException(const std::shared_ptr< const tenduke::json::JSONParser > &parseJson)
Constructs new instance.
Definition
HTTPResponseToOAuthException.cpp:46
tenduke::http::HTTPResponseToException
Utility service to throw an exception based on tenduke::http::HTTPResponse.
Definition
HTTPResponseToException.h:18
tenduke::oauth::HTTPResponseToOAuthException::from4xx
void from4xx(http::HTTPResponse &response) const override
OAuth-specific handling for HTTP 4xx-errors.
Definition
HTTPResponseToOAuthException.cpp:19
tenduke::oauth::HTTPResponseToOAuthException::HTTPResponseToOAuthException
HTTPResponseToOAuthException(const std::shared_ptr< const tenduke::json::JSONParser > &parseJson)
Constructs new instance.
Definition
HTTPResponseToOAuthException.cpp:46
tenduke::oauth
OAuth services.
Definition
AccessTokenRequestAuthenticator.h:8
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
oidc
core
src
oauth
HTTPResponseToOAuthException.h
Generated by
1.17.0