# OpenParameters

## Content

# Type Alias: OpenParameters

```ts
type OpenParameters = object & DocumentInitParameters;
```

Open parameters.

## Type declaration

### headers?

```ts
optional headers: object;
```

Authentication headers.

#### Index Signature

```ts
[header: string]: string
```

### password?

```ts
optional password: string;
```

For decrypting password-protected PDFs.

### withCredentials?

```ts
optional 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.
