10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
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
9
namespace
tenduke
{
namespace
oauth
{
10
14
class
OAuthInvalidGrant
:
public
tenduke::oauth::OAuthServerError
15
{
16
public
:
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
OAuthInvalidGrant::OAuthInvalidGrant
OAuthInvalidGrant(Phase phase, std::string error, const std::string &errorDescription)
Constructs new instance.
Definition
OAuthInvalidGrant.h:23
tenduke::oauth::OAuthException::Phase
Phase
Phase where this exception occurred.
Definition
OAuthException.h:21
tenduke::oauth::OAuthInvalidGrant::OAuthInvalidGrant
OAuthInvalidGrant(Phase phase, std::string error, const std::string &errorDescription)
Constructs new instance.
Definition
OAuthInvalidGrant.h:23
tenduke::oauth::OAuthServerError
Thrown when server reported an OAuth-related error.
Definition
OAuthServerError.h:28
tenduke::oauth::OAuthServerError::OAuthServerError
OAuthServerError(Phase phase, std::string error, const std::string &errorDescription)
Constructs new instance.
Definition
OAuthServerError.h:36
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
OAuthInvalidGrant.h
Generated by
1.17.0