Class RecoveryCodeUse
java.lang.Object
com.revetsec.totp.RecoveryCodeUse
Library-created proof of committed recovery-code consumption; apply a separate recovery-session policy.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionThe application-approved account identifier.The application credential namespace.The active factor generation whose recovery code was consumed.Returns the verified method provenance.The server-owned pending operation binding.The admitted recovery epoch; session completion must enforce it.The remaining recovery-code count after this consumption.The confirmed consumption instant.toString()Redacts all account, operation and secret data.
-
Method Details
-
getCredentialNamespace
The application credential namespace.- Returns:
- credentialNamespace
- Since:
- 1.0.0
-
getRecoveryEpoch
The admitted recovery epoch; session completion must enforce it.- Returns:
- recoveryEpoch
- Since:
- 1.0.0
-
getAccountId
The application-approved account identifier.- Returns:
- accountId
- Since:
- 1.0.0
-
getFactorId
The active factor generation whose recovery code was consumed.- Returns:
- factorId
- Since:
- 1.0.0
-
getVerifiedAt
The confirmed consumption instant.- Returns:
- verifiedAt
- Since:
- 1.0.0
-
getOperationBinding
The server-owned pending operation binding.- Returns:
- operationBinding
- Since:
- 1.0.0
-
getRemainingRecoveryCodeCount
The remaining recovery-code count after this consumption.- Returns:
- remainingRecoveryCodeCount
- Since:
- 1.0.0
-
getMethod
Returns the verified method provenance.- Returns:
- authentication method
- Since:
- 1.0.0
-
toString
-