findmy.reports.state

Account login state.

Classes

LoginState

Enum of possible login states. Used for AppleAccount's internal state machine.

Module Contents

class findmy.reports.state.LoginState

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” another LoginState 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.