Class TotpStatus
java.lang.Object
com.revetsec.totp.TotpStatus
Non-secret account status at an authoritative read point; no authentication proof is conferred.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current active factor generation when enrolled.Returns the pending enrollment for reconciling management operations.Returns the current recovery-code batch generation.Returns the number of currently usable recovery codes.toString()Redacts account and generation information.
-
Method Details
-
getActiveFactor
Returns the current active factor generation when enrolled.- Returns:
- active factor
- Since:
- 1.0.0
-
getPendingEnrollment
Returns the pending enrollment for reconciling management operations.- Returns:
- pending enrollment
- Since:
- 1.0.0
-
getRecoveryBatchId
Returns the current recovery-code batch generation.- Returns:
- recovery batch identifier
- Since:
- 1.0.0
-
getRemainingRecoveryCodeCount
Returns the number of currently usable recovery codes.- Returns:
- remaining count, zero when no batch is active
- Since:
- 1.0.0
-
toString
-