LWP::AuthenAgent - a simple subclass of LWP::UserAgent to allow the user to


sitemapper documentation  | view source Contained in the sitemapper distribution.

Index


NAME

Top

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

SYNOPSIS

Top

    use LWP::AuthenAgent;

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

DESCRIPTION

Top

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

Top

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

SEE ALSO

Top

    LWP::UserAgent
    Term::ReadKey

AUTHOR

Top

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

COPYRIGHT

Top


sitemapper documentation  | view source Contained in the sitemapper distribution.