The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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');