Catalyst::Authentication::Credential::AuthTkt - shim for Apache::AuthTkt


Catalyst-Authentication-AuthTkt documentation Contained in the Catalyst-Authentication-AuthTkt distribution.

Index


Code Index:

NAME

Top

Catalyst::Authentication::Credential::AuthTkt - shim for Apache::AuthTkt

DESCRIPTION

Top

This module implements the Catalyst::Plugin::Authentication API for Apache::AuthTkt. See Catalyst::Authentication::AuthTkt for complete user documentation.

METHODS

Top

authenticate( context, authstore, authinfo )

AUTHOR

Top

Peter Karman, <karman at cpan dot org>

BUGS

Top

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.

SUPPORT

Top

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

ACKNOWLEDGEMENTS

Top

The Minnesota Supercomputing Institute http://www.msi.umn.edu/ sponsored the development of this software.

COPYRIGHT & LICENSE

Top


Catalyst-Authentication-AuthTkt documentation Contained in the Catalyst-Authentication-AuthTkt distribution.
package Catalyst::Authentication::Credential::AuthTkt;

use warnings;
use strict;
use base qw( Class::Accessor::Fast );

our $VERSION = '0.11';

sub authenticate {
    my ( $self, $c, $authstore, $authinfo ) = @_;
    my $user_obj = $authstore->find_user( $authinfo, $c );
    return ref $user_obj ? $user_obj : undef;
}

1;    # End of Catalyst::Authentication::AuthTkt