NAME
Authen::CAS::External::FAQ - Frequently asked questions relating to the Authen-CAS-External distribution
HOW TO
How do I authenticate with only a ticket granting cookie?
use Authen::CAS::External 0.02
# Create a basic CAS object
my $cas_service = Authen::CAS::External->new(
cas_url => 'http://cas.example.net/',
password => 'does_not_matter',
username => 'also_does_not_matter',
);
# Set the ticket granting cookie from some place
$cas_service->ticket_granting_cookie($cookie);
# Now authenticate using the CAS gateway option
my $response = $cas_service->authenticate(
gateway => 1,
service => 'http://service.example.net/',
);
AUTHOR
Douglas Christopher Wilson, <doug at somethingdoug.com>
LICENSE AND COPYRIGHT
Copyright 2009 Douglas Christopher Wilson.
This program is free software; you can redistribute it and/or modify it under the terms of either:
the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or
the Artistic License version 2.0.