Class RecoveryAuthnCodesFormAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.browser.RecoveryAuthnCodesFormAuthenticator
- All Implemented Interfaces:
Authenticator,Provider
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaction(AuthenticationFlowContext context) protected voidaddRequiredAction(AuthenticationFlowContext authnFlowContext) voidauthenticate(AuthenticationFlowContext context) voidclose()booleanconfiguredFor(KeycloakSession session, RealmModel realm, UserModel user) protected StringgetDisabledByBruteForceEventError(AuthenticationFlowContext authnFlowContext, UserModel authenticatedUser) protected booleanisDisabledByBruteForce(AuthenticationFlowContext authnFlowContext, UserModel authenticatedUser) booleanvoidsetRequiredActions(KeycloakSession session, RealmModel realm, UserModel user) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.Authenticator
areRequiredActionsEnabled, getRequiredActions
-
Field Details
-
GENERATED_RECOVERY_AUTHN_CODES_NOTE
- See Also:
-
GENERATED_AT_NOTE
- See Also:
-
-
Constructor Details
-
RecoveryAuthnCodesFormAuthenticator
-
-
Method Details
-
authenticate
- Specified by:
authenticatein interfaceAuthenticator
-
action
- Specified by:
actionin interfaceAuthenticator
-
addRequiredAction
-
isDisabledByBruteForce
protected boolean isDisabledByBruteForce(AuthenticationFlowContext authnFlowContext, UserModel authenticatedUser) -
getDisabledByBruteForceEventError
protected String getDisabledByBruteForceEventError(AuthenticationFlowContext authnFlowContext, UserModel authenticatedUser) -
requiresUser
public boolean requiresUser()- Specified by:
requiresUserin interfaceAuthenticator
-
configuredFor
- Specified by:
configuredForin interfaceAuthenticator
-
setRequiredActions
- Specified by:
setRequiredActionsin interfaceAuthenticator
-
close
public void close()
-