Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Contents of this documentation:

Table of Contents

It is assumed that the user is presented with the form via an iframe on the page https://mon-site /consent.

...

If the user ID - userid parameter - is reused from one call to another, the form will be displayed with the replies previously given.

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.

Find a more complete version of this code on github: https://github.com/fairandsmart/consent-iframe-integration- test