|
10Duke Enterprise C++ SDK
|
#include <DefaultOIDCSessionEventListener.h>
Default implementation of tenduke::oidc::OIDCSessionEventListener.
Every method is empty: You can extend this class if you are interested listening only a subset of the events.
NOTE: Read also the documentation of tenduke::oidc::OIDCSessionEventListener.
Public Member Functions | |
| void | loginStarting () override |
| Called when OIDCSession starts login. | |
| void | loginComplete (const ::tenduke::oidc::OIDCState &state) override |
| Called when OIDC login is complete. | |
| void | refreshComplete (const ::tenduke::oidc::OIDCState &state) override |
| Called when OIDC session refresh is complete. | |
|
overridevirtual |
Called when OIDC login is complete.
To keep the user logged in across application restarts, store the state here (and in refreshComplete()). The state is a credential, see tenduke::oidc::stateToJson() for how to store it.
| state | the new state. |
Implements tenduke::oidc::OIDCSessionEventListener.
|
overridevirtual |
Called when OIDCSession starts login.
Implements tenduke::oidc::OIDCSessionEventListener.
|
overridevirtual |
Called when OIDC session refresh is complete.
The refresh may have replaced the refresh token, so store the new state if you store the state, see loginComplete().
| state | the new state. |
Implements tenduke::oidc::OIDCSessionEventListener.