Uses of Class
io.github.pratiyush.totp.TOTP.Builder
Packages that use TOTP.Builder
Package
Description
Production-Ready TOTP Library - Null Safety Declaration.
-
Uses of TOTP.Builder in io.github.pratiyush.totp
Methods in io.github.pratiyush.totp that return TOTP.BuilderModifier and TypeMethodDescriptionSets the algorithm.static TOTP.BuilderTOTP.builder()Returns a builder for creating custom TOTP instances.Sets the clock for time-based operations.TOTP.Builder.config(TOTPConfig config) Sets the TOTP configuration.TOTP.Builder.replayGuard(@Nullable ReplayGuard replayGuard) Sets the replay guard.TOTP.Builder.withReplayProtection()Enables replay protection with default retention.TOTP.Builder.withReplayProtection(Duration retention) Enables replay protection with an in-memory guard.