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