# AuthClientIdleOptions

Defined in: [react/src/auth/types.ts:76](https://github.com/B3Pay/ic-reactor/blob/70bedf3c8779611a3b35710510442dee7f630b87/packages/react/src/auth/types.ts#L76)

Idle-session configuration forwarded to the underlying AuthClient.

## Properties

### onIdle?

> `optional` **onIdle?**: () => `unknown`

Defined in: [react/src/auth/types.ts:78](https://github.com/B3Pay/ic-reactor/blob/70bedf3c8779611a3b35710510442dee7f630b87/packages/react/src/auth/types.ts#L78)

Called once the user has been idle for `idleTimeout` ms.

#### Returns

`unknown`

***

### idleTimeout?

> `optional` **idleTimeout?**: `number`

Defined in: [react/src/auth/types.ts:80](https://github.com/B3Pay/ic-reactor/blob/70bedf3c8779611a3b35710510442dee7f630b87/packages/react/src/auth/types.ts#L80)

Idle timeout in ms.

#### Default

```ts
600_000 (10 minutes)
```

***

### captureScroll?

> `optional` **captureScroll?**: `boolean`

Defined in: [react/src/auth/types.ts:82](https://github.com/B3Pay/ic-reactor/blob/70bedf3c8779611a3b35710510442dee7f630b87/packages/react/src/auth/types.ts#L82)

Treat scroll events as activity.

#### Default

```ts
false
```

***

### scrollDebounce?

> `optional` **scrollDebounce?**: `number`

Defined in: [react/src/auth/types.ts:84](https://github.com/B3Pay/ic-reactor/blob/70bedf3c8779611a3b35710510442dee7f630b87/packages/react/src/auth/types.ts#L84)

Scroll debounce in ms.

#### Default

```ts
100
```

***

### disableIdle?

> `optional` **disableIdle?**: `boolean`

Defined in: [react/src/auth/types.ts:86](https://github.com/B3Pay/ic-reactor/blob/70bedf3c8779611a3b35710510442dee7f630b87/packages/react/src/auth/types.ts#L86)

Disable idle detection entirely.

#### Default

```ts
false
```

***

### disableDefaultIdleCallback?

> `optional` **disableDefaultIdleCallback?**: `boolean`

Defined in: [react/src/auth/types.ts:91](https://github.com/B3Pay/ic-reactor/blob/70bedf3c8779611a3b35710510442dee7f630b87/packages/react/src/auth/types.ts#L91)

Disable the built-in idle callback, which signs the user out and reloads
the page.

#### Default

```ts
false
```