public class ResetOTP extends AbstractSetRequiredActionAuthenticator implements CredentialValidator<OTPCredentialProvider>
| Modifier and Type | Field and Description |
|---|---|
static String |
PROVIDER_ID |
REQUIREMENT_CHOICES| Constructor and Description |
|---|
ResetOTP() |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(AuthenticationFlowContext context)
Initial call for the authenticator.
|
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user)
Is this authenticator configured for this user.
|
OTPCredentialProvider |
getCredentialProvider(KeycloakSession session) |
String |
getDisplayType()
Friendly name for the authenticator
|
String |
getHelpText() |
String |
getId() |
action, close, create, getConfigProperties, getReferenceCategory, getRequirementChoices, init, isConfigurable, isUserSetupAllowed, postInit, requiresUser, setRequiredActionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCredentials, getTypeareRequiredActionsEnabled, getRequiredActionsorderpublic static final String PROVIDER_ID
public void authenticate(AuthenticationFlowContext context)
Authenticatorauthenticate in interface Authenticatorpublic OTPCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider in interface CredentialValidator<OTPCredentialProvider>public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
AuthenticatorconfiguredFor in interface AuthenticatorconfiguredFor in class AbstractSetRequiredActionAuthenticatorpublic String getDisplayType()
ConfigurableAuthenticatorFactorygetDisplayType in interface ConfigurableAuthenticatorFactorypublic String getHelpText()
getHelpText in interface ConfiguredProviderpublic String getId()
getId in interface ProviderFactory<Authenticator>Copyright © 2021 JBoss by Red Hat. All rights reserved.