[]
        
(Showing Draft Content)

OpenParameters

Type Alias: OpenParameters

type OpenParameters = object & DocumentInitParameters;

Open parameters.

Type declaration

headers

headers: object;

Authentication headers.

Index Signature

[header: string]: string

password

password: string;

For decrypting password-protected PDFs.

withCredentials

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.