...
If the user ID - userid parameter - is reused from one call to another, the form will be displayed with the replies previously given.
Kinematics
Once the integration has been carried out, the kinematics are as follows:
...
The code of the methods getUserId()
, getUserEmail()
, getToken()
is not explicit, but can for example retrieve the parameters in the URL ($_GET), in the session ($_SESSION), etc.
Source code
Find a more complete version of this code on github: https://github.com/fairandsmart/consent-iframe-integration- test