[]
OpenParameters:
object
&DocumentInitParameters
Open parameters.
headers:
object
Authentication headers.
[header
: string
]: string
password:
string
For decrypting password-protected PDFs.
withCredentials:
boolean
Indicates whether or not
cross-site Access-Control requests should be made using credentials such
as cookies or authorization headers. The default is false
.
withCredentials makes the browser include cookies and authentication headers in the XHR request.
If your service depends on any cookie (including session cookies), it will only work with this option set.