# Interface: HeaderParams

## Properties

### accessToken

• `Optional` **accessToken**: `string`

#### Defined in[[accesstoken.defined-in]]

[inference/src/types.ts:140](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L140)

___

### authMethod

• **authMethod**: [`AuthMethod`](../modules#authmethod)

#### Defined in[[authmethod.defined-in]]

[inference/src/types.ts:141](https://github.com/huggingface/huggingface.js/blob/main/packages/inference/src/types.ts#L141)


<EditOnGithub source="https://github.com/huggingface/huggingface.js/blob/main/docs/inference/interfaces/HeaderParams.md" />