10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
OAuthInvalidState.h
1#ifndef TENDUKE_OAUTH_OAUTHINVALIDSTATE_H
2#define TENDUKE_OAUTH_OAUTHINVALIDSTATE_H
3
4#include "./OAuthException.h"
5
6#include <string>
7
8namespace tenduke { namespace oauth {
9
15{
16public:
23 OAuthInvalidState(Phase phase, std::string error, const std::string &errorDescription)
24 : tenduke::oauth::OAuthException(phase, std::move(error), errorDescription)
25 {}
26};
27
28
29}}
30
31#endif // TENDUKE_OAUTH_OAUTHINVALIDSTATE_H
OAuthInvalidState(Phase phase, std::string error, const std::string &errorDescription)
Constructs new instance.
Definition OAuthInvalidState.h:23
Generic OAuth-related exception.
Definition OAuthException.h:15
Phase
Phase where this exception occurred.
Definition OAuthException.h:21
OAuthException(Phase phase, std::string error, const std::string &errorDescription)
Constructs new instance.
Definition OAuthException.h:34
OAuthInvalidState(Phase phase, std::string error, const std::string &errorDescription)
Constructs new instance.
Definition OAuthInvalidState.h:23
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4