public static class TOTPMechanism.TOTPBuilder extends OathMechanism.OathBuilder<TOTPMechanism.TOTPBuilder>
accountName, algorithm, digits, issuer, mechanismUID, secret, timeAdded| Constructor and Description |
|---|
TOTPBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected TOTPMechanism.TOTPBuilder |
getThis() |
TOTPMechanism.TOTPBuilder |
setPeriod(int period)
Sets the frequency with which the OTP changes.
|
build, setAccountName, setAlgorithm, setDigits, setIssuer, setMechanismUID, setSecret, setTimeAddedprotected TOTPMechanism.TOTPBuilder getThis()
getThis in class OathMechanism.OathBuilder<TOTPMechanism.TOTPBuilder>public TOTPMechanism.TOTPBuilder setPeriod(int period)
period - Non null period in seconds.