# Interface: HeaderParams

## Properties

### accessToken

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

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

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

___

### authMethod

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

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

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


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