|
10Duke Enterprise C++ SDK
|
#include <OIDCIdentityChanged.h>
Thrown when the ID-token received on refresh does not have the same identity as the original ID-token (OIDC Core 12.2), or when the original state had no ID-token.
This is a suspicious situation: applications may want to handle it separately, e.g. log a security event and require a new login.
The phase is always REFRESH_REQUEST and the error invalid_id_token.
Public Member Functions | |
| OIDCIdentityChanged (const std::string &errorDescription) | |
| Constructs new instance. | |
| Public Member Functions inherited from tenduke::oidc::OIDCException | |
| OIDCException (enum tenduke::oauth::OAuthException::Phase phase, const std::string &error, const std::string &errorDescription) | |
| Constructs new instance. | |
| OIDCException (const std::string &errorDescription) | |
| Constructs new instance just with description. | |
| Public Member Functions inherited from tenduke::oauth::OAuthException | |
| OAuthException (Phase phase, std::string error, const std::string &errorDescription) | |
| Constructs new instance. | |
| Phase | getPhase () const |
| The phase where this exception occurred. | |
| std::string | getError () const |
| Error code. | |
| std::string | getErrorDescription () const |
| Error description. | |
| Public Member Functions inherited from tenduke::TendukeException | |
| TendukeException (const std::string &message) | |
| Constructs new instance. | |
Additional Inherited Members | |
| Public Types inherited from tenduke::oauth::OAuthException | |
| enum | Phase { NONE , AUTHORIZATION , TOKEN_REQUEST , REFRESH_REQUEST } |
| Phase where this exception occurred. | |
|
inlineexplicit |
Constructs new instance.
| errorDescription | - |