pub struct TanChallenge {
pub challenge: ChallengeText,
pub challenge_markup: bool,
pub kind: TanKind,
pub valid_until: Option<DateTime>,
pub not_before: Option<Timestamp>,
pub payee_check: Option<VopResult>,
pub rejected: Option<Box<TanRejected>>,
}Expand description
What the bank asks the user to do.
Fields§
§challenge: ChallengeTextThe bank’s text to show.
challenge_markup: boolThe bank’s HITANS “Challenge strukturiert” for the TAN method in
use (PIN/TAN, data dictionary, DE “Challenge”): when true,
challenge may carry the tags <br> <p> <b> <i> <u> <ul> <ol> <li> <a href>, not nested. When false it is plain text.
kind: TanKind§valid_until: Option<DateTime>Until when the bank accepts the answer (HITAN “Gültigkeitsdatum und
-uhrzeit für Challenge”), in the bank’s local time as sent; None
when the bank gives none.
not_before: Option<Timestamp>Decoupled challenges: the earliest time for the next Dialog::poll,
the time the bank’s answer arrived plus the HITANS wait that applies
(first_wait before the first poll, next_wait after each further
3956). None when the bank gives no wait, and for typed challenges.
It is a wall-clock time and survives freeze and thaw; sleep until it
instead of for a fixed duration.
payee_check: Option<VopResult>A transfer’s payee check result, to show with the TAN prompt or app
approval (VoP E.8.1 point 3); None for every other job and for a
transfer without a payee check.
rejected: Option<Box<TanRejected>>Why the challenge came back: the bank rejected the TAN typed for
it and keeps the order for another one. None on the first ask.