Apache 1.3 API Documentation

Routine ap_auth_type

Definition:

const char *ap_auth_type(request_rec *r);
     

Usage example:

if (strcasecmp(ap_auth_type(r), "Basic") == 0) { 
    /* AuthType Basic */ 
} 
     

This function returns the name of the HTTP authentication method that applies to the specified request. The method is set by the AuthType directive. If no authentication menthod is applicable, this routine returns NULL.

See also:
ap_auth_name, ap_validate_password

Previous: ap_auth_name Next: ap_base64decode

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