Skip to content
IC Reactor

AuthClientIdleOptions

Defined in: react/src/auth/types.ts:76

Idle-session configuration forwarded to the underlying AuthClient.

optional onIdle?: () => unknown

Defined in: react/src/auth/types.ts:78

Called once the user has been idle for idleTimeout ms.

unknown


optional idleTimeout?: number

Defined in: react/src/auth/types.ts:80

Idle timeout in ms.

600_000 (10 minutes)

optional captureScroll?: boolean

Defined in: react/src/auth/types.ts:82

Treat scroll events as activity.

false

optional scrollDebounce?: number

Defined in: react/src/auth/types.ts:84

Scroll debounce in ms.

100

optional disableIdle?: boolean

Defined in: react/src/auth/types.ts:86

Disable idle detection entirely.

false

optional disableDefaultIdleCallback?: boolean

Defined in: react/src/auth/types.ts:91

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

false