# AuthClientIdleOptions

Defined in: [react/src/auth/types.ts:79](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L79)

Idle-session configuration forwarded to the underlying AuthClient.
`@icp-sdk/auth` v8 only; see [AuthenticationClientOptions.idleOptions](https://ic-reactor.b3pay.net/v3/libs/interfaces/authenticationclientoptions/#idleoptions).

## Properties

### onIdle?

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

Defined in: [react/src/auth/types.ts:81](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L81)

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

#### Returns

`unknown`

***

### idleTimeout?

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

Defined in: [react/src/auth/types.ts:83](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L83)

Idle timeout in ms.

#### Default

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

***

### captureScroll?

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

Defined in: [react/src/auth/types.ts:85](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L85)

Treat scroll events as activity.

#### Default

```ts
false
```

***

### scrollDebounce?

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

Defined in: [react/src/auth/types.ts:87](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L87)

Scroll debounce in ms.

#### Default

```ts
100
```

***

### disableIdle?

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

Defined in: [react/src/auth/types.ts:89](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L89)

Disable idle detection entirely.

#### Default

```ts
false
```

***

### disableDefaultIdleCallback?

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

Defined in: [react/src/auth/types.ts:94](https://github.com/B3Pay/ic-reactor/blob/ad82a03d03149c25f0d0f63e453f62e284c28b02/packages/react/src/auth/types.ts#L94)

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

#### Default

```ts
false
```