# Interface: HeaderParams

## Properties

### accessToken

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

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

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

___

### authMethod

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

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

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


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