Apache-MultiAuth
view release on metacpan or search on metacpan
MultiAuth.pm view on Meta::CPAN
return OK
}
$r->log_reason("$am did not return OK");
}
$r->note_basic_auth_failure;
return AUTH_REQUIRED;
}
sub AuthModule($$@) {
my ($cfg, $parms, $module) = @_;
my $auth_modules = $cfg->{AuthModules} ||= [];
push @{$auth_modules}, $module;
}
sub DumpAuthModules($$$) {
my ($cfg, $parms, $dump) = @_;
$DUMP_AUTH_MODULES = $dump;
}
sub DIR_MERGE {
warn "\n\nCalled DIR_MERGE!";
my ($parent, $current) = @_;
my %uniq;
my @auth_modules = grep { ++$uniq{$_} == 1 }
(@{$parent->{AuthModules}},
( run in 0.685 second using v1.01-cache-2.11-cpan-65fba6d93b7 )