CreatePreviewToken
Description
Creates a preview SecurityToken that can be used to bypass any security on the Flipbook. After creating a token for a specific Flipbook, a specific client IP address and for a given time period, the Flipbook may be accessed using the URL: <urlToFlipbook>/?SecurityToken=<token>
to bypass any security. This is typically used for scenarios where the user is logged in to an intranet and does not want to login to see the Flipbooks, while Flipbooks should be protected from public viewing. Instead of linking directly to the Flipbooks from the intranet, the intranet should link to a local page that creates the securitytoken and then redirects the user to the catalog.
Typical workflow:
[Intranet] User clicks link to Flipbook.
[Intranet] Requests security token from iPaper.
[iPaper] Security token created & returned.
[Intranet] Redirects user to actual Flipbook with securitytoken appended
Parameters
Name | Value |
---|---|
paperID | The ID of the iPaper that should be granted access to |
validityMinutes | How long the security token should be valid for |
ip | The IP that should be granted access. If this is en empty string, no IP validation will be performed and any IP presenting the correct token will be granted access |
Sample Response
Return Codes
SUCCESS
ERROR
LOGIN_SECURITY_VIOLATION
Last updated