Called for you by TT when you USE the plugin. There are four parameters:
Usually you get the cookie contents from the Apache::Template modules TT2Params cookies parameter. If you pass the secret directly, you should get it by these commands in httpd.conf:
Then fish it out of the env hash in your template. See the SYNOPSIS above.
|user_name||Returns the name of the user from the cookie, if there is one.|
|auth_secret||Used by Gantry::Plugins::CRUD to retrieve the decryption key. This is taken from the Gantry::Conf variable or constructor argument of the same name. Precendence is given to the constructor argument if both are suppied.|
Phil Crow <firstname.lastname@example.org>
Copyright (c) 2006, Phil Crow
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
|perl v5.20.3||TEMPLATE::PLUGIN::GANTRYAUTHCOOKIE (3)||2016-04-03|