Results for “Std.App.Totp.TotpConfig”
5 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.App.Totp.TotpConfig
Immutable parameters for RFC 6238 TOTP generation and validation.
- Std.App.Totp.config
Bytes -> Str -> Str -> Std.App.Totp.TotpConfigInitializes standard TOTP configuration with 6 digits, 30-second interval, and 1-step skew tolerance.
- Std.App.Totp.generate
&Std.App.Totp.TotpConfig -> Int -> StrComputes the canonical time-based OTP code for the given epoch timestamp using HMAC-SHA256.
- Std.App.Totp.provisioningUri
&Std.App.Totp.TotpConfig -> StrBuilds the standard otpauth URI for authenticator app enrollment.
- Std.App.Totp.verify
&Std.App.Totp.TotpConfig -> &Std.App.Totp.TotpState -> Str -> Int -> BoolValidates a user-submitted code against all allowed steps in [C - skew, C + skew]
