pub async fn connect(
username: &UserId,
pin: &Pin,
product_id: &ProductId,
system_id: Option<&SystemId>,
) -> Result<(Session, Challenge)>Expand description
Connect to DKB and get a TAN challenge.
This performs:
- Sync dialog (get system_id + BPD)
- Normal dialog init with HKTAN:4 (triggers pushTAN)
Returns a Session (holding the dialog in the correct typestate)
and a Challenge with info for the user.