- Summary
Pass an array of HTTP authentication parameters to use with therequest. The array must contain the username in index [0], the password inindex [1], and you can optionally provide a built-in authentication type inindex [2]. Pass to disable authentication for a request.- Types
- array
- string
- null- Default
None- Constant
The built-in authentication types are as follows:
- basic
- Use in the header (the default setting used if none isspecified).
- digest
- Use digest authentication(must be supported by the HTTP handler).
- ntlm
- Use .aspx)(must be supported by the HTTP handler).