Applicable in ObjectType-class directives.
The set-basic-auth function sets the HTTP basic authentication credentials used by the proxy server when it sends an HTTP request. set-basic-auth can be used to authenticate to a remote origin server or proxy server.
The following table describes the parameter for the set-basic-auth function.
Table 5–82 set-basic-auth Parameters
Parameter |
Description |
---|---|
user |
To authenticate user |
password |
The user’s password |
hdr |
(Optional) Name of the HTTP request header used to communicate the credentials |