Line

ui/client/features/auth/pages/AuthGatePage

Cockpit client (features), v0.9. Source: ui/client/features/auth/pages/AuthGatePage.tsx.

Functions#

AuthGatePage()#

AuthGatePage(__namedParameters): ReactNode

Defined in: ui/client/features/auth/pages/AuthGatePage.tsx:31

Props#

Prop Type Required Default Description
session `AuthSession null` Yes —
loading boolean Yes —
unreachable `string null` Yes —
signingIn boolean Yes —
error `string null` Yes —
blocked boolean Yes —
canSignIn boolean Yes —
onSignInWithGithub () => void Yes —
onSignInAsTestUser () => void Yes —
onRetry () => void Yes —
tagline string Yes —
taglineAnimated boolean Yes —
handoff boolean Yes — #406: true for the short beat after a real, in-tab sign-in (blocked flips true -> false while
this screen was actually on screen) while the mark plays its exit hand-off. See
AuthGateController.tsx for how this is derived — never true on an ordinary already-signed-in
page load, only on a transition this tab witnessed.
onHandoffEnd () => void Yes —
children ReactNode Yes —

Returns#

ReactNode