Package org.keycloak.models.utils
Class RecoveryAuthnCodesUtils
java.lang.Object
org.keycloak.models.utils.RecoveryAuthnCodesUtils
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
hashRawCode
(String rawGeneratedCode) static boolean
verifyRecoveryCodeInput
(String rawInputRecoveryCode, String hashedSavedRecoveryCode)
-
Field Details
-
UPPERNUM
public static final char[] UPPERNUM -
NOM_ALGORITHM_TO_HASH
- See Also:
-
NUM_HASH_ITERATIONS
public static final int NUM_HASH_ITERATIONS- See Also:
-
RECOVERY_AUTHN_CODES_INPUT_DEFAULT_ERROR_MESSAGE
- See Also:
-
FIELD_RECOVERY_CODE_IN_BROWSER_FLOW
- See Also:
-
-
Constructor Details
-
RecoveryAuthnCodesUtils
public RecoveryAuthnCodesUtils()
-
-
Method Details
-
hashRawCode
-
verifyRecoveryCodeInput
-
generateRawCodes
-