| WWW-USF-WebAuth documentation | view source | Contained in the WWW-USF-WebAuth distribution. |
WWW::USF::WebAuth - Access to USF's WebAuth system
Version 0.003
use Carp ();
use WWW::USF::WebAuth ();
# Create a new WebAuth object
my $webauth = WWW::USF::WebAuth->new(
netid => 'teststudent',
password => 'PassW0rd!',
);
my $response = $webauth->authenticate(
# Connect to USF Blackboard system
service => 'https://learn.usf.edu/webapps/login/?new_loc=useCas'
);
if (!$response->is_success) {
# Authentication failed, so just bail here
Carp::carp('Authentication with WebAuth failed');
}
# The authentication was successful
printf qq{You may navigate to %s and be logged in as %s\n},
$response->destination,
$webauth->netid;
This provides a way in which you can interact with the WebAuth system at the University of South Florida.
This is fully object-oriented, and as such before any method can be used, the constructor needs to be called to create an object to work with. Please see the documentation for Authen::CAS::External.
Please see the documentation for Authen::CAS::External.
This is a string which is the NetID of the user. This attribute directly maps
to the inherited username attribute.
This module provides the identical methods as Authen::CAS::External and you should look at the documentation for the supported methods.
This will clear the value for netid.
This will report if the current instance has netid defined.
Douglas Christopher Wilson, <doug at somethingdoug.com>
Please report any bugs or feature requests to
bug-www-usf-webauth at rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-USF-WebAuth. 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.
perldoc WWW::USF::WebAuth
You can also look for information at:
Copyright 2010 Douglas Christopher Wilson, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of either:
| WWW-USF-WebAuth documentation | view source | Contained in the WWW-USF-WebAuth distribution. |