Class ResetOTP
java.lang.Object
org.keycloak.authentication.authenticators.resetcred.AbstractSetRequiredActionAuthenticator
org.keycloak.authentication.authenticators.resetcred.ResetOTP
- All Implemented Interfaces:
org.keycloak.authentication.Authenticator,org.keycloak.authentication.AuthenticatorFactory,org.keycloak.authentication.ConfigurableAuthenticatorFactory,org.keycloak.authentication.CredentialValidator<OTPCredentialProvider>,org.keycloak.provider.ConfiguredProvider,org.keycloak.provider.Provider,org.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
public class ResetOTP
extends AbstractSetRequiredActionAuthenticator
implements org.keycloak.authentication.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 TypeMethodDescriptionvoidaction(org.keycloak.authentication.AuthenticationFlowContext context) voidauthenticate(org.keycloak.authentication.AuthenticationFlowContext context) booleanconfiguredFor(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user) List<org.keycloak.provider.ProviderConfigProperty>getCredentialProvider(org.keycloak.models.KeycloakSession session) getId()booleanMethods inherited from class org.keycloak.authentication.authenticators.resetcred.AbstractSetRequiredActionAuthenticator
close, create, getReferenceCategory, getRequirementChoices, init, isUserSetupAllowed, postInit, requiresUser, setRequiredActionsMethods 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.ConfigurableAuthenticatorFactory
getOptionalReferenceCategoriesMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.authentication.CredentialValidator
getCredentials, getTypeMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
ResetOTP
public ResetOTP()
-
-
Method Details
-
authenticate
public void authenticate(org.keycloak.authentication.AuthenticationFlowContext context) - Specified by:
authenticatein interfaceorg.keycloak.authentication.Authenticator
-
action
public void action(org.keycloak.authentication.AuthenticationFlowContext context) - Specified by:
actionin interfaceorg.keycloak.authentication.Authenticator- Overrides:
actionin classAbstractSetRequiredActionAuthenticator
-
isConfigurable
public boolean isConfigurable()- Specified by:
isConfigurablein interfaceorg.keycloak.authentication.ConfigurableAuthenticatorFactory- Overrides:
isConfigurablein classAbstractSetRequiredActionAuthenticator
-
getConfigProperties
- Specified by:
getConfigPropertiesin interfaceorg.keycloak.provider.ConfiguredProvider- Overrides:
getConfigPropertiesin classAbstractSetRequiredActionAuthenticator
-
getCredentialProvider
- Specified by:
getCredentialProviderin interfaceorg.keycloak.authentication.CredentialValidator<OTPCredentialProvider>
-
configuredFor
public boolean configuredFor(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user) - Specified by:
configuredForin interfaceorg.keycloak.authentication.Authenticator- Overrides:
configuredForin classAbstractSetRequiredActionAuthenticator
-
getDisplayType
- Specified by:
getDisplayTypein interfaceorg.keycloak.authentication.ConfigurableAuthenticatorFactory
-
getHelpText
- Specified by:
getHelpTextin interfaceorg.keycloak.provider.ConfiguredProvider
-
getId
- Specified by:
getIdin interfaceorg.keycloak.provider.ProviderFactory<org.keycloak.authentication.Authenticator>
-