Std.App.Totp.verify
1 declaration
fn
verify: &Std.App.Totp.TotpConfig -> &Std.App.Totp.TotpState -> Str -> Int -> BoolThis is a callable function.
What it does
Validates a user-submitted code against all allowed steps in [C - skew, C + skew]
using constant-time string comparison and atomically guards against replay attacks.
Read the signature
- The text after the name is the type checked by Pudu.
- Read arrows from left to right: inputs come first, and the final type is returned.
- & borrows a value for this call instead of moving or copying it.
