Class RecoveryAuthnCodesFormAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.browser.RecoveryAuthnCodesFormAuthenticator
- All Implemented Interfaces:
Authenticator,CredentialValidator<RecoveryAuthnCodesCredentialProvider>,Provider
public class RecoveryAuthnCodesFormAuthenticator
extends Object
implements Authenticator, CredentialValidator<RecoveryAuthnCodesCredentialProvider>
-
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) getCredentialProvider(KeycloakSession session) protected StringgetDisabledByBruteForceEventError(AuthenticationFlowContext authnFlowContext, UserModel authenticatedUser) getType(KeycloakSession session) 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, getRequiredActionsMethods inherited from interface org.keycloak.authentication.CredentialValidator
getCredentials
-
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() -
getCredentialProvider
- Specified by:
getCredentialProviderin interfaceCredentialValidator<RecoveryAuthnCodesCredentialProvider>
-
getType
- Specified by:
getTypein interfaceCredentialValidator<RecoveryAuthnCodesCredentialProvider>
-