/// /** @public */ export type AutoLogoutProps = { /** * Enable/disable the AutoLogoutMechanism. * defauls to true. */ enabled?: boolean; /** * The amount of time (in minutes) of inactivity * after which the user is automatically logged out. * defaults to 60 minutes. */ idleTimeoutMinutes?: number; /** * The number of seconds before the idleTimeout expires, * at which the user will be alerted by a Dialog that * they are about to be logged out. * defaults to 10 seconds */ promptBeforeIdleSeconds?: number; /** * Enable/disable the usage of Node's worker thread timers instead of main thread timers. * This is helpful if you notice that the your browser is killing inactive tab's timers, like the one used by AutoLogout. * If you experience some browser incompatibility, you may try to set this to false. * defaults to true. */ useWorkerTimers?: boolean; /** * Enable/disable the autologout for disconnected users. * disconnected users are the ones that are logged in but have no Backstage tab open in their browsers. * If enabled, disconnected users will be automatically logged out after `idleTimeoutMinutes` * defaults to true */ logoutIfDisconnected?: boolean; }; /** * The Autologout feature enables platform engineers to add a mechanism to log out users after a configurable amount of time of inactivity. * When enabled, the mechanism will track user actions (mouse movement, mouse click, key pressing, taps, etc.) in order to determine if they are active or not. * After a certain amount of inactivity/idle time, the user session is invalidated and they are required to sign in again. * * @public */ export declare const AutoLogout: (props: AutoLogoutProps) => JSX.Element | null;