connect

abstract suspend fun connect(account: AccountCredentials, proxy: ProxyConfig): ConnectionResult

Authenticates with the server using stored account credentials, routed through proxy (always a Tor SOCKS5 endpoint in this app). Returns ConnectionResult.Success, a pending AuthStep via pendingAuthStep, or a failure.