Class ValidateOTP
java.lang.Object
org.keycloak.authentication.authenticators.directgrant.AbstractDirectGrantAuthenticator
org.keycloak.authentication.authenticators.directgrant.ValidateOTP
- All Implemented Interfaces:
Authenticator,AuthenticatorFactory,ConfigurableAuthenticatorFactory,CredentialValidator<OTPCredentialProvider>,ConfiguredProvider,Provider,ProviderFactory<Authenticator>
public class ValidateOTP
extends AbstractDirectGrantAuthenticator
implements CredentialValidator<OTPCredentialProvider>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Field Summary
FieldsFields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
REQUIREMENT_CHOICES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidauthenticate(AuthenticationFlowContext context) booleanconfiguredFor(KeycloakSession session, RealmModel realm, UserModel user) getCredentialProvider(KeycloakSession session) getId()booleanbooleanbooleanvoidsetRequiredActions(KeycloakSession session, RealmModel realm, UserModel user) Methods inherited from class org.keycloak.authentication.authenticators.directgrant.AbstractDirectGrantAuthenticator
action, close, create, errorResponse, init, postInitMethods 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.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.authentication.CredentialValidator
getCredentials, getTypeMethods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
ValidateOTP
public ValidateOTP()
-
-
Method Details
-
authenticate
- Specified by:
authenticatein interfaceAuthenticator
-
requiresUser
public boolean requiresUser()- Specified by:
requiresUserin interfaceAuthenticator
-
configuredFor
- Specified by:
configuredForin interfaceAuthenticator
-
setRequiredActions
- Specified by:
setRequiredActionsin interfaceAuthenticator
-
isUserSetupAllowed
public boolean isUserSetupAllowed()- Specified by:
isUserSetupAllowedin interfaceConfigurableAuthenticatorFactory
-
getDisplayType
- Specified by:
getDisplayTypein interfaceConfigurableAuthenticatorFactory
-
getReferenceCategory
- Specified by:
getReferenceCategoryin interfaceConfigurableAuthenticatorFactory
-
isConfigurable
public boolean isConfigurable()- Specified by:
isConfigurablein interfaceConfigurableAuthenticatorFactory
-
getRequirementChoices
- Specified by:
getRequirementChoicesin interfaceConfigurableAuthenticatorFactory
-
getHelpText
- Specified by:
getHelpTextin interfaceConfiguredProvider
-
getConfigProperties
- Specified by:
getConfigPropertiesin interfaceConfiguredProvider
-
getId
- Specified by:
getIdin interfaceProviderFactory<Authenticator>
-
getCredentialProvider
- Specified by:
getCredentialProviderin interfaceCredentialValidator<OTPCredentialProvider>
-