NAME

LWP::AuthenAgent - a simple subclass of LWP::UserAgent to allow the user to type in username / password information if required for autentication.

SYNOPSIS

use LWP::AuthenAgent;

my $ua = new LWP::AuthenAgent;
my $response = $ua->request( new HTTP::Request 'GET' => $url );

DESCRIPTION

LWP::AuthenAgent simple overloads the get_basic_credentials method of LWP::UserAgent. It prompts the user for username / passsword for a given realm, supressing tty echoing of the password. Authentication details are stored in the object for each realm, so that they can be re-used in subsequest requests for the same realm, if necessary.

METHODS

LWP::AuthenAgent inherits all the methods available in LWP::UserAgent.

SEE ALSO

LWP::UserAgent
Term::ReadKey

AUTHOR

Ave Wrigley <Ave.Wrigley@itn.co.uk>

COPYRIGHT

Copyright (c) 1997 Canon Research Centre Europe (CRE). All rights reserved. This script and any associated documentation or files cannot be distributed outside of CRE without express prior permission from CRE.