Apache-AuthTicket
view release on metacpan or search on metacpan
Release 0.31
o Removed an email address from Changes file via owners request.
Release 0.30
o Changed calls from to Digest::MD5->md5_hex to just Digest::MD5::md5_hex()
This causes md5 passwords generated with other md5() routines (PHP for
example to fail). Thanks to Steve Chadsey for spotting this.
** NOTE ** MD5 passwords that worked with previous versions will not work
with this version due to the fact that md5_hex() was used incorrectly.
Upgrading from previous versions will also invalidate any current tickets
because the ticket generation routines also were using md5_hex
incorrectly.
Release 0.20
o Renamed module from Apache::TicketAccess to Apache::AuthTicket after
discovering that Apache::TicketAccess is distributed with the mod_perl
book examples.
o Adapted module to Apache::AuthCookie v2.011. This module now
subclasses Apache::AuthCookie and relies on AuthCookie for all of the
cookie login logic. This was basically a complete rewrite.
lib/Apache/AuthTicket/Base.pm view on Meta::CPAN
my $hashref = $self->new_ticket_for($username)
Creates new ticket hashref for the given username. You could overload this to
append extra fields to the ticket.
=head2 delete_ticket
$self->delete_ticket($r)
Invalidates the ticket by expiring the cookie and deletes the hash from the database
=head2 save_hash
$self->save_hash($hash)
save the hash value/checksum in the database
=head2 delete_hash
$self->delete_hash($hash)
( run in 0.533 second using v1.01-cache-2.11-cpan-a5abf4f5562 )