package Catalyst::Authentication::Credential::AuthTkt; use warnings; use strict; use base qw( Class::Accessor::Fast ); our $VERSION = '0.11'; =head1 NAME Catalyst::Authentication::Credential::AuthTkt - shim for Apache::AuthTkt =head1 DESCRIPTION This module implements the Catalyst::Plugin::Authentication API for Apache::AuthTkt. See Catalyst::Authentication::AuthTkt for complete user documentation. =head1 METHODS =head2 authenticate( I, I, I ) =cut sub authenticate { my ( $self, $c, $authstore, $authinfo ) = @_; my $user_obj = $authstore->find_user( $authinfo, $c ); return ref $user_obj ? $user_obj : undef; } =head1 AUTHOR Peter Karman, C<< >> =head1 BUGS Please report any bugs or feature requests to C, or through the web interface at L. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. =head1 SUPPORT You can find documentation for this module with the perldoc command. perldoc Catalyst::Authentication::AuthTkt You can also look for information at: =over 4 =item * AnnoCPAN: Annotated CPAN documentation L =item * CPAN Ratings L =item * RT: CPAN's request tracker L =item * Search CPAN L =back =head1 ACKNOWLEDGEMENTS The Minnesota Supercomputing Institute C<< http://www.msi.umn.edu/ >> sponsored the development of this software. =head1 COPYRIGHT & LICENSE 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. =cut 1; # End of Catalyst::Authentication::AuthTkt