ap_ get_basic_auth_pw — get the password supplied for basic authentication
int ap_ get_basic_auth_pw(request_rec *r, const char **pw)
If a password has been set for basic authentication (by the client),
its address is put in *pw
. Otherwise, an
appropriate error is returned:
DECLINED
If the request does not require basic authentication
SERVER_ERROR
If no authentication domain name has been set (with
AuthName
)
AUTH_REQUIRED
If authentication is required but has not been sent by the client
OK
If the password has been put in *pw