WWW::USF::WebAuth - Access to USF's WebAuth system


WWW-USF-WebAuth documentation  | view source Contained in the WWW-USF-WebAuth distribution.

Index


NAME

Top

WWW::USF::WebAuth - Access to USF's WebAuth system

VERSION

Top

Version 0.003

SYNOPSIS

Top

  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;

DESCRIPTION

Top

This provides a way in which you can interact with the WebAuth system at the University of South Florida.

CONSTRUCTOR

Top

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.

ATTRIBUTES

Top

Please see the documentation for Authen::CAS::External.

netid

This is a string which is the NetID of the user. This attribute directly maps to the inherited username attribute.

METHODS

Top

This module provides the identical methods as Authen::CAS::External and you should look at the documentation for the supported methods.

clear_netid

This will clear the value for netid.

has_netid

This will report if the current instance has netid defined.

DEPENDENCIES

Top

* Authen::CAS::External 0.05
* Moose 1.03
* MooseX::Aliases 0.05
* MooseX::StrictConstructor 0.09
* MooseX::Types::Moose
* namespace::clean 0.04

AUTHOR

Top

Douglas Christopher Wilson, <doug at somethingdoug.com>

BUGS AND LIMITATIONS

Top

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.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

  perldoc WWW::USF::WebAuth

You can also look for information at:

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-USF-WebAuth

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/WWW-USF-WebAuth

* CPAN Ratings

http://cpanratings.perl.org/d/WWW-USF-WebAuth

* Search CPAN

http://search.cpan.org/dist/WWW-USF-WebAuth/

LICENSE AND COPYRIGHT

Top


WWW-USF-WebAuth documentation  | view source Contained in the WWW-USF-WebAuth distribution.