1#ifndef TENDUKE_OAUTH_OAUTHSERVERERROR_H
2#define TENDUKE_OAUTH_OAUTHSERVERERROR_H
4#include "./OAuthException.h"
16const std::string ERROR_INVALID_GRANT =
"invalid_grant";
Generic OAuth-related exception.
Definition OAuthException.h:15
Phase
Phase where this exception occurred.
Definition OAuthException.h:21
Thrown when server reported an OAuth-related error.
Definition OAuthServerError.h:28
OAuthServerError(Phase phase, std::string error, const std::string &errorDescription)
Constructs new instance.
Definition OAuthServerError.h:36
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
const std::string ERROR_INVALID_CLIENT
OAuth2 error code for "invalid client".
Definition OAuthServerError.h:14
const std::string ERROR_INVALID_REQUEST
OAuth2 error code for "invalid request".
Definition OAuthServerError.h:12
const std::string ERROR_UNSUPPORTED_GRANT_TYPE
OAuth2 error code for "unsupported grant type".
Definition OAuthServerError.h:20
const std::string ERROR_UNAUTHORIZED_CLIENT
OAuth2 error code for "unauthorized client".
Definition OAuthServerError.h:18
const std::string ERROR_INVALID_SCOPE
OAuth2 error code for "invalid scope".
Definition OAuthServerError.h:22
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7