Enum PendingAuthPhase
What a connection that has completed its handshake, and not yet authenticated, is waiting on.
public enum PendingAuthPhase : byte
Fields
Authenticating = 0The servers are working: SRP verify and proof, a token check, a two-factor code being verified. Bounded by ProgressTtlSeconds since the last progress and by AuthenticatingCapSeconds of extensions.
AwaitingTwoFactor = 1The two-factor prompt is on the player's screen. Bounded by one fixed window per prompt; nothing the server does in the meantime extends it.
Remarks
The two need different limits. Machine work either makes progress within seconds or has stalled; a person reading a code off their phone makes no progress the server can see until the code arrives. One progress timer used to cover both, so the two-factor prompt had the fifteen seconds meant for a stalled SRP exchange, and a player still reaching for their authenticator app was disconnected.