pub(super) async fn login_attempt(
credentials: &Credentials,
account_key: &AccountKey,
client_info: &ClientInfo,
attempt: u32,
ui: &dyn TwoFactorUi,
rest: &RestClient,
) -> Result<LoginOutcome, OnePasswordError>Expand description
Runs one full login sequence: start a session, exchange SRP, verify the key, and drive 2FA if the server asks for it.