Class AbstractDirectGrantAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.directgrant.AbstractDirectGrantAuthenticator
- All Implemented Interfaces:
Authenticator,AuthenticatorFactory,ConfigurableAuthenticatorFactory,ConfiguredProvider,Provider,ProviderFactory<Authenticator>
- Direct Known Subclasses:
ValidateOTP,ValidatePassword,ValidateUsername
public abstract class AbstractDirectGrantAuthenticator
extends Object
implements Authenticator, AuthenticatorFactory
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
Fields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
REQUIREMENT_CHOICES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaction(AuthenticationFlowContext context) voidclose()create(KeycloakSession session) jakarta.ws.rs.core.ResponseerrorResponse(int status, String error, String errorDescription) voidinit(Config.Scope config) voidpostInit(KeycloakSessionFactory factory) 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, authenticate, configuredFor, getRequiredActions, requiresUser, setRequiredActionsMethods inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
getDisplayType, getReferenceCategory, getRequirementChoices, isConfigurable, isUserSetupAllowedMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig, getConfigProperties, getHelpTextMethods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, getId, order
-
Constructor Details
-
AbstractDirectGrantAuthenticator
public AbstractDirectGrantAuthenticator()
-
-
Method Details
-
errorResponse
-
action
- Specified by:
actionin interfaceAuthenticator
-
close
public void close()- Specified by:
closein interfaceProvider- Specified by:
closein interfaceProviderFactory<Authenticator>
-
create
- Specified by:
createin interfaceProviderFactory<Authenticator>
-
init
- Specified by:
initin interfaceProviderFactory<Authenticator>
-
postInit
- Specified by:
postInitin interfaceProviderFactory<Authenticator>
-