Skip to main content
Version: Next

AutoLogout()

Home > @backstage/core-components > AutoLogout

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.

Signature:

AutoLogout: (props: AutoLogoutProps) => JSX.Element | null

Parameters

Parameter

Type

Description

props

AutoLogoutProps

**Returns:**

JSX.Element | null