cadrumo.entrypoints.tui.secret.login module¶
Login: full-screen credential entry that unlocks one existing profile.
See also
CredentialScreenThe shared attempt lifecycle and panel layout this screen builds on.
RegistrationScreenThe other credential surface, sharing the same base.
- class LoginScreen(*, choices, authenticate, preselected=None)[source]¶
Bases:
CredentialScreen[ProfileLoginOutcome]Full-screen credential entry that unlocks one existing profile.
- Parameters:
choices (Sequence[ProfileLoginChoice])
authenticate (Callable[[str, str], ProfileLoginAttempt])
preselected (str | None)
- SCOPED_CSS: ClassVar[bool]¶
Should default css be limited to the widget type?
- DEFAULT_CSS: ClassVar[str]¶
Default TCSS.
- ATTEMPT_NAME: ClassVar[str]¶
- progress_message()[source]¶
Operator-facing description of the subclass’s in-flight attempt.
- Return type:
- can_focus: bool¶
Widget may receive focus.
- can_focus_children: bool¶
Widget’s children may receive focus.