Package org.keycloak.models.utils
Class RecoveryAuthnCodesUtils
- java.lang.Object
- 
- org.keycloak.models.utils.RecoveryAuthnCodesUtils
 
- 
 public class RecoveryAuthnCodesUtils extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringFIELD_RECOVERY_CODE_IN_BROWSER_FLOWstatic StringNOM_ALGORITHM_TO_HASHstatic intNUM_HASH_ITERATIONSstatic StringRECOVERY_AUTHN_CODES_INPUT_DEFAULT_ERROR_MESSAGEstatic char[]UPPERNUM
 - 
Constructor SummaryConstructors Constructor Description RecoveryAuthnCodesUtils()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>generateRawCodes()static StringhashRawCode(String rawGeneratedCode)static booleanverifyRecoveryCodeInput(String rawInputRecoveryCode, String hashedSavedRecoveryCode)
 
- 
- 
- 
Field Detail- 
UPPERNUMpublic static final char[] UPPERNUM 
 - 
NOM_ALGORITHM_TO_HASHpublic static final String NOM_ALGORITHM_TO_HASH - See Also:
- Constant Field Values
 
 - 
NUM_HASH_ITERATIONSpublic static final int NUM_HASH_ITERATIONS - See Also:
- Constant Field Values
 
 - 
RECOVERY_AUTHN_CODES_INPUT_DEFAULT_ERROR_MESSAGEpublic static final String RECOVERY_AUTHN_CODES_INPUT_DEFAULT_ERROR_MESSAGE - See Also:
- Constant Field Values
 
 - 
FIELD_RECOVERY_CODE_IN_BROWSER_FLOWpublic static final String FIELD_RECOVERY_CODE_IN_BROWSER_FLOW - See Also:
- Constant Field Values
 
 
- 
 
-