]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
helps to have example config, too
authorAlan T. DeKok <aland@freeradius.org>
Wed, 16 Aug 2023 13:06:20 +0000 (09:06 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 16 Aug 2023 13:06:20 +0000 (09:06 -0400)
raddb/mods-available/totp

index b354122b64ec287a9fb18a0e48362a12fe410926..43d2f57afa428d6b242e5d54104f04a648eda6b1 100644 (file)
 #  The module takes no configuration items.
 #
 totp {
+       #
+       #  Default time step between time changes
+       #
+       time_step = 30
+
+       #
+       #  Length of the one-time password.
+       #
+       #  Must be 6 or 8
+       #
+       otp_length = 8
+
+       #
+       #  How many steps backward in time we look for a matching OTP
+       #
+       lookback_steps = 1
+
+       #
+       #  Time delta between steps.
+       #
+       #  Cannot be larger than time_step
+       #
+       lookback_interval = 30
 }