Repository navigation
What's new
auth.Session, a sign-in and sign-up state machine (#2023), mirroring tdlib'sauthorizationState:WaitCode(every code type;Resendby next type after the timeout;ReportMissing),WaitEmailAddressandWaitEmailCode(email set-up and sign-in by email code or Google/Apple token,ResetEmail),WaitPayment(paid code),WaitPassword(2FA from any step),WaitRegistration,Ready. On an RPC error the state stays, so an input can be retried.auth.Flowwith a*Clientruns onSession: email codes through the optionalEmailAuthenticator, sign-up after any step. OtherFlowClientimplementations keep the previous path.
Full Changelog: v0.169.0...v0.170.0