Loading...
 
Skip to main content

History: PluginGetAccessToken

Source of version: 8 (current)

Copy to clipboard
            ! Plugin Get Access Token
Starting with ((Tiki7)), this ((wiki 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.

!! Parameters
{pluginmanager plugin="getaccesstoken"}
!! Example
!!!Basic syntax
{CODE(colors="tiki")}
{getaccesstokem entry="tiki-payment.php" keys="invoice" values="23"}
{CODE}
!!! Tracker example
Imagine that you have a survey created on a tracker split 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:
{CODE(colors="tiki")}
{tracker trackerId="" 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}"}"}
{CODE}
Where -+~np~{$f_1}~/np~+- is that autoincrement -+itemId+- field above.
!!Related pages
* ((Token Access))
* ((Tokens))
!! Alias
(alias(GetAccessToken))