Catalyst::Authentication::Store::AuthTkt - shim for Apache::AuthTkt
This module implements the Catalyst::Plugin::Authentication API for Apache::AuthTkt. See Catalyst::Authentication::AuthTkt for complete user documentation.
Instantiate the store. config is used to set the cookie name to check in find_user(), and optionally, to set the timeout and timeout_refresh values.
timeout
timeout_refresh
Returns a Catalyst::Authentication::User::AuthTkt object on success, undef on failure.
find_user() checks the context request object for a cookie named cookie_name() or a param named cookie_name(), in that order. If neither are present, or if present but invalid, find_user() returns undef.
See also the 'mock' feature as per the example in Catalyst::Authentication::AuthTkt SYNOPSIS.
Returns true if the ticket has expired. ticket should be a hashref as returned from the Apache::AuthTkt->valid_ticket() method.
If the timeout_refresh configuration option is set and the opportunity window is appropriate, the cookie ticket value will be regenerated and set in the context response() object. The new ticket will also be set in the context user() object if one exists.
Returns true if the ticket was renewed, false otherwise.
Sets AuthTkt cookie with expiration in the past and an empty value.
Implements required method for stashing user in a session.
Implements required method for de-serializing frozen_user from a session store.
Peter Karman, <karman at cpan dot org>
<karman at cpan dot org>
Please report any bugs or feature requests to bug-catalyst-authentication-authtkt at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Catalyst-Authentication-AuthTkt. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-catalyst-authentication-authtkt at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Catalyst::Authentication::AuthTkt
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Catalyst-Authentication-AuthTkt
CPAN Ratings
http://cpanratings.perl.org/d/Catalyst-Authentication-AuthTkt
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Catalyst-Authentication-AuthTkt
Search CPAN
http://search.cpan.org/dist/Catalyst-Authentication-AuthTkt
The Minnesota Supercomputing Institute http://www.msi.umn.edu/ sponsored the development of this software.
http://www.msi.umn.edu/
Copyright 2008 by the Regents of the University of Minnesota.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Authentication::AuthTkt, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Authentication::AuthTkt
CPAN shell
perl -MCPAN -e shell install Catalyst::Authentication::AuthTkt
For more information on module installation, please visit the detailed CPAN module installation guide.