NAME

Apache::Access -- A Perl API for Apache request object

SYNOPSIS

use Apache::Access;
sub handler{
    my $r = shift;
    ...
    my $auth_type = $r->auth_type;
    ...
}

DESCRIPTION

Apache::Access provides the Perl API for Apache request object.

API

Function arguments (if any) and return values are shown in the function's synopsis.

  • auth_type()

    $r->auth_type gets or sets the value of the AuthType configuration directive for the current request.

    my $auth_type = $r->auth_type;

    or

    $r->auth_type('Basic');