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, 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)
Authenticator
authenticate
in interface Authenticator
public OTPCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider
in interface CredentialValidator<OTPCredentialProvider>
public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
configuredFor
in interface Authenticator
configuredFor
in class AbstractSetRequiredActionAuthenticator
public String getDisplayType()
ConfigurableAuthenticatorFactory
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.