10Duke Scale C++ Client
All Classes Namespaces Files Functions Variables Typedefs Enumerations Pages
OAuthInvalidGrant.h
1#ifndef TENDUKE_OAUTH_OAUTHINVALIDGRANT_H
2#define TENDUKE_OAUTH_OAUTHINVALIDGRANT_H
3
4#include "./OAuthServerError.h"
5
6#include <stdexcept>
7#include <string>
8
9namespace tenduke { namespace oauth {
10
15{
16public:
23 OAuthInvalidGrant(Phase phase, std::string error, const std::string &errorDescription)
24 : tenduke::oauth::OAuthServerError(phase, std::move(error), errorDescription)
25 {}
26};
27
28
29}}
30
31#endif // TENDUKE_OAUTH_OAUTHINVALIDGRANT_H
Phase
Phase where this exception occurred.
Definition OAuthException.h:21
Exception thrown when server reported "invalid_grant".
Definition OAuthInvalidGrant.h:15
OAuthInvalidGrant(Phase phase, std::string error, const std::string &errorDescription)
Constructs new instance.
Definition OAuthInvalidGrant.h:23
Thrown when server reported an OAuth-related error.
Definition OAuthServerError.h:28
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7