Options
All
  • Public
  • Public/Protected
  • All
Menu

@dfinity/auth-client

Index

Type aliases

IdleManagerOptions: { captureScroll?: boolean; idleTimeout?: number; onIdle?: IdleCB; scrollDebounce?: number }

Type declaration

  • Optional captureScroll?: boolean

    capture scroll events

    default

    false

  • Optional idleTimeout?: number

    timeout in ms

    default

    30 minutes [600_000]

  • Optional onIdle?: IdleCB

    Callback after the user has gone idle

  • Optional scrollDebounce?: number

    scroll debounce time in ms

    default

    100

Variables

ERROR_USER_INTERRUPT: "UserInterrupt" = 'UserInterrupt'

Generated using TypeDoc