Class TotpEnrollment
java.lang.Object
com.revetsec.totp.TotpEnrollment
A persisted pending enrollment whose secret is released only after a confirmed write.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionThe pending enrollment identifier.The pending enrollment expiry.The candidate factor generation activated by confirmation.The secret-bearing Base32 key for manual authenticator setup.The secret-bearing otpauth URI for an authenticator application.The admitted recovery epoch.toString()Redacts all account, operation and secret data.
-
Method Details
-
getEnrollmentId
The pending enrollment identifier.- Returns:
- enrollmentId
- Since:
- 1.0.0
-
getFactorId
The candidate factor generation activated by confirmation.- Returns:
- factorId
- Since:
- 1.0.0
-
getExpiresAt
The pending enrollment expiry.- Returns:
- expiresAt
- Since:
- 1.0.0
-
getProvisioningUri
The secret-bearing otpauth URI for an authenticator application.- Returns:
- provisioningUri
- Since:
- 1.0.0
-
getManualEntryKey
The secret-bearing Base32 key for manual authenticator setup.- Returns:
- manualEntryKey
- Since:
- 1.0.0
-
getRecoveryEpoch
The admitted recovery epoch.- Returns:
- recoveryEpoch
- Since:
- 1.0.0
-
toString
-