10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
OIDCIdentityChanged.h
1#ifndef TENDUKE_OIDC_OIDCIDENTITYCHANGED_H
2#define TENDUKE_OIDC_OIDCIDENTITYCHANGED_H
3
4#include "./OIDCException.h"
5
6#include <string>
7
8namespace tenduke { namespace oidc {
9
10
18{
19public:
24 explicit OIDCIdentityChanged(const std::string &errorDescription)
26 tenduke::oauth::OAuthException::Phase::REFRESH_REQUEST,
27 "invalid_id_token",
28 errorDescription
29 )
30 {}
31};
32
33
34}}
35
36#endif // TENDUKE_OIDC_OIDCIDENTITYCHANGED_H
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(enum tenduke::oauth::OAuthException::Phase phase, const std::string &error, const std::string &errorDescription)
Constructs new instance.
Definition OIDCException.h:21
OIDCIdentityChanged(const std::string &errorDescription)
Constructs new instance.
Definition OIDCIdentityChanged.h:24
OAuth services.
Definition AccessTokenRequestAuthenticator.h:8
Implementation of OpenID Connect protocol.
Definition AutoDiscovery.h:17
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4