> ## 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.

# InMemoryStore

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

## Implements

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

## Constructors

### Constructor

```ts theme={null}
new InMemoryStore(): InMemoryStore;
```

#### Returns

`InMemoryStore`

## Methods

### delete()

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

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

#### 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:66](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/auth.ts#L66)

#### 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:70](https://github.com/PrefectHQ/fastmcp-ts/blob/e4b6038f642b529f601463a576229747afebe9a4/src/client/auth.ts#L70)

#### Parameters

##### key

`string`

##### value

`string`

#### Returns

`Promise`\<`void`>

#### Implementation of

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