Plugin Get Access Token
Starting with Tiki7, this plugin which requires admin validation is designed for an admin to display a link on a secure page to another page using a security access token. This might be useful where on one page which is accessible to users through a token the user needs to be able to access another secondary page using a different token.Table of contents
Usage and Parameters
An example:{GETACCESSTOKEN(entry="tiki-payment.php" keys="invoice" values="23") /}Required parameters are in bold
Preferences required: auth_token_access, wikiplugin_getaccesstoken
| Parameters | Accepted Values | Description | Default | Since |
| entry | text | The path of part of the path for which the token is for | ||
| keys | text | Query string parameter keys for which the token is for, separated by : | ||
| values | text | Query string parameter values for which the token is for, separated by : |
Example
Imagine that you have a survey created on a tracker splitted in many different wiki pages (using PluginTracker in them).You need to have an autoincrement field of type ",,,itemId", and if you can find a way to make the multiple tokens easily, then you can use this plugin this way:
{TRACKER(trackerId=1,fields=1:2, action=>Save and Next,
url=>tiki-index.php?page=next&TOKEN={GETACCESSTOKEN(entry="tiki-index.php" keys="page:itemId" values="next:{$f_1})) /}where {$f_1} is that autoincrement itemId field above.
