Skip to content
IC Reactor

AuthClientSignInOptions

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

optional maxTimeToLive?: bigint

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

The longest the delegation may last, in nanoseconds.


optional maxTimeToIdle?: bigint

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

How long a signed-in user may be idle before the sign-in ends, in nanoseconds.

@icp-sdk/auth v10 only. v8’s sign-in has no idle limit, so IC Reactor drops it there with a one-time warning. On v8, set idleOptions instead.


optional targets?: Principal[]

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

Canisters the delegation is restricted to. @icp-sdk/auth v8 only: v10 ignores it, and IC Reactor warns when it is set for a v10 client.