Uses of Class
io.github.pratiyush.totp.TOTPConfig.Builder
Packages that use TOTPConfig.Builder
Package
Description
Production-Ready TOTP Library - Null Safety Declaration.
-
Uses of TOTPConfig.Builder in io.github.pratiyush.totp
Methods in io.github.pratiyush.totp that return TOTPConfig.BuilderModifier and TypeMethodDescriptionSets the HMAC algorithm.TOTPConfig.Builder.allowedDrift(int steps) Sets the allowed drift steps for verification.static TOTPConfig.BuilderTOTPConfig.builder()Returns a builder with default values.TOTPConfig.Builder.digits(int digits) Sets the number of digits in generated codes.Sets the time period for code validity.TOTPConfig.Builder.periodSeconds(int seconds) Sets the period in seconds.