> ## Documentation Index
> Fetch the complete documentation index at: https://fastmcp-ts.docs.prefect.io/llms.txt
> Use this file to discover all available pages before exploring further.

# FileTokenStorage

Defined in: [client/auth.ts:83](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/auth.ts#L83)

## Implements

* [`KeyValueStore`](/api/client/type-aliases/KeyValueStore)

## Constructors

### Constructor

```ts theme={null}
new FileTokenStorage(path?): FileTokenStorage;
```

Defined in: [client/auth.ts:87](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/auth.ts#L87)

#### Parameters

##### path?

`string`

#### Returns

`FileTokenStorage`

## Methods

### delete()

```ts theme={null}
delete(key): Promise<void>;
```

Defined in: [client/auth.ts:134](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/auth.ts#L134)

#### Parameters

##### key

`string`

#### Returns

`Promise`\<`void`>

#### Implementation of

```ts theme={null}
KeyValueStore.delete
```

***

### get()

```ts theme={null}
get(key): Promise<string | null>;
```

Defined in: [client/auth.ts:123](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/auth.ts#L123)

#### Parameters

##### key

`string`

#### Returns

`Promise`\<`string` | `null`>

#### Implementation of

```ts theme={null}
KeyValueStore.get
```

***

### set()

```ts theme={null}
set(key, value): Promise<void>;
```

Defined in: [client/auth.ts:128](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/auth.ts#L128)

#### Parameters

##### key

`string`

##### value

`string`

#### Returns

`Promise`\<`void`>

#### Implementation of

```ts theme={null}
KeyValueStore.set
```
