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) |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
OTPCredentialProvider |
getCredentialProvider(KeycloakSession session) |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
action, close, create, getConfigProperties, getReferenceCategory, getRequirementChoices, init, isConfigurable, isUserSetupAllowed, postInit, requiresUser, setRequiredActions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCredentials, getType
areRequiredActionsEnabled, getRequiredActions
order
public static final String PROVIDER_ID
public void authenticate(AuthenticationFlowContext context)
authenticate
in interface Authenticator
public OTPCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider
in interface CredentialValidator<OTPCredentialProvider>
public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor
in interface Authenticator
configuredFor
in class AbstractSetRequiredActionAuthenticator
public String getDisplayType()
getDisplayType
in interface ConfigurableAuthenticatorFactory
public String getHelpText()
getHelpText
in interface ConfiguredProvider
public String getId()
getId
in interface ProviderFactory<Authenticator>
Copyright © 2021 JBoss by Red Hat. All rights reserved.