template<class T>
class tenduke::ee::licensing::impl::StatefulCheckoutRequestTemplate< T >
Common base for stateful checkout-like requests.
Currently used with checkouts and renews.
The execution first checks that the local OIDC session is valid and if it is not it either refreshes the OIDC session or logs the user in.
If the execution of the delegate request fails, the code checks if the request failed and tries to detect if the failure was because of invalid credentials (e.g. credentials expired or invalidated by admin). If so, the session is refreshed or user is logged in after which the request is re-executed.
No other re-try mechanisms are in place. In case of other error conditions or if the re-execution fails, exceptions are propagated to the called.
- Template Parameters
-