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
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.
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.
<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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
RT: CPAN's request tracker
The Minnesota Supercomputing Institute
http://www.msi.umn.edu/ sponsored the development of this software.
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.