10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
DefaultOIDCSessionEventListener Class Reference

#include <DefaultOIDCSessionEventListener.h>

Detailed Description

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.

Inheritance diagram for DefaultOIDCSessionEventListener:
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.

Member Function Documentation

◆ loginComplete()

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.

Parameters
statethe new state.

Implements tenduke::oidc::OIDCSessionEventListener.

◆ loginStarting()

◆ refreshComplete()

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().

Parameters
statethe new state.

Implements tenduke::oidc::OIDCSessionEventListener.


The documentation for this class was generated from the following files: