Package org.opencms.security.twofactor
Class CmsSecondFactorInfo
java.lang.Object
org.opencms.security.twofactor.CmsSecondFactorInfo
Second factor information for login.
- 
Constructor SummaryConstructorsConstructorDescriptionCmsSecondFactorInfo(String code) Creates a new instance.CmsSecondFactorInfo(String secret, String code) Creates a new instance.
- 
Method Summary
- 
Constructor Details- 
CmsSecondFactorInfoCreates a new instance.- Parameters:
- code- the verification code
 
- 
CmsSecondFactorInfoCreates a new instance.- Parameters:
- secret- the secret
- code- the verification code
 
 
- 
- 
Method Details- 
equals
- 
getCodeGets the verification code (normally generated and entered by the user).- Returns:
- the verification code
 
- 
getSecretGets the secret (usually null, only used for second factor setup).- Returns:
- the secret
 
- 
hashCode
- 
toString
 
-