Apache 1.3 API Documentation

Routine ap_auth_name

Definition:

const char *ap_auth_name(request_rec *r);
     

Usage example:

if (ap_auth_name(r) == NULL) {
    /* no applicable security realm */ 
    } 
    
     

This routine returns the name of the realm in which the client must be authenticated and authorised for the request to be successfully served. The string returned is the argument to the corresponding AuthName directive.

If there is no applicable realm, NULL is returned.

See also:
ap_auth_type, ap_validate_password

Previous: ap_array_pstrcat Next: ap_auth_type

Table of Contents (Routines, Structures, Data Cells, Constants)