Authen-Simple-HTTP
view release on metacpan or search on metacpan
lib/Authen/Simple/HTTP.pm view on Meta::CPAN
__PACKAGE__->options({
url => {
type => Params::Validate::SCALAR,
optional => 0
},
agent => {
type => Params::Validate::OBJECT,
isa => 'LWP::UserAgent',
default => LWP::UserAgent->new(
cookie_jar => {},
keep_alive => 1,
timeout => 30
),
optional => 1
}
});
sub check {
my ( $self, $username, $password ) = @_;
# This implementation is very hackish, however I could not find a cleaner
( run in 2.123 seconds using v1.01-cache-2.11-cpan-df04353d9ac )