findmy.reports.state#
Account login state.
Classes#
Enum of possible login states. Used for |
Module Contents#
- class findmy.reports.state.LoginState(*args, **kwds)#
Bases:
enum.Enum
Enum of possible login states. Used for
AppleAccount()’s internal state machine.- LOGGED_OUT = 0#
- REQUIRE_2FA = 1#
- AUTHENTICATED = 2#
- LOGGED_IN = 3#
- __lt__(other: LoginState) bool#
Compare against another
LoginState().A
LoginState()is said to be “less than” anotherLoginState()iff it is in an “earlier” stage of the login process, going from LOGGED_OUT to LOGGED_IN.
- __repr__() str#
Human-readable string representation of the state.