Pass an array of HTTP authentication parameters to use with the request. The array must contain the username in index [0], the password in index [1], and you can optionally provide a built-in authentication type in index [2]. Pass to disable authentication for a request.

    Types

    Default

    None

    Constant

    The built-in authentication types are as follows:

    basic

    Use in the header (the default setting used if none is specified).

    digest

    Use digest authentication (must be supported by the HTTP handler).

    This is currently only supported when using the cURL handler, but creating a replacement that can be used with any HTTP handler is planned.

    ntlm

    Use .aspx) (must be supported by the HTTP handler).

    Note

    This is currently only supported when using the cURL handler.