10Duke Scale C++ Client
Loading...
Searching...
No Matches
OIDCException.h
1#ifndef TENDUKE_OIDC_OIDCEXCEPTION_H
2#define TENDUKE_OIDC_OIDCEXCEPTION_H
3
4#include "oauth/OAuthException.h"
5
6namespace tenduke { namespace oidc {
7
8
13{
14public:
23 const std::string &error,
24 const std::string &errorDescription
25 )
26 : tenduke::oauth::OAuthException(phase, error, errorDescription)
27 {}
28
33 explicit OIDCException(const std::string &errorDescription)
34 : OIDCException(tenduke::oauth::OAuthException::Phase::NONE, "", errorDescription)
35 {}
36
37};
38
39
40}}
41
42#endif // TENDUKE_OIDC_OIDCEXCEPTION_H
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
Thrown when OIDC-related errors occur.
Definition OIDCException.h:13
OIDCException(const std::string &errorDescription)
Constructs new instance just with description.
Definition OIDCException.h:33
OIDCException(enum tenduke::oauth::OAuthException::Phase phase, const std::string &error, const std::string &errorDescription)
Constructs new instance.
Definition OIDCException.h:21
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Root for classes, functions and globals of 10Duke C++ Client.
Definition BackendConfiguration.h:7