public class ValidateOTP extends AbstractDirectGrantAuthenticator implements CredentialValidator<OTPCredentialProvider>
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDER_ID |
REQUIREMENT_CHOICES
Constructor and Description |
---|
ValidateOTP() |
Modifier and Type | Method and Description |
---|---|
void |
authenticate(AuthenticationFlowContext context) |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
List<ProviderConfigProperty> |
getConfigProperties() |
OTPCredentialProvider |
getCredentialProvider(KeycloakSession session) |
String |
getDisplayType() |
String |
getHelpText() |
String |
getId() |
String |
getReferenceCategory() |
AuthenticationExecutionModel.Requirement[] |
getRequirementChoices() |
boolean |
isConfigurable() |
boolean |
isUserSetupAllowed() |
boolean |
requiresUser() |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
action, close, create, errorResponse, init, postInit
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 boolean requiresUser()
requiresUser
in interface Authenticator
public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor
in interface Authenticator
public void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions
in interface Authenticator
public boolean isUserSetupAllowed()
isUserSetupAllowed
in interface ConfigurableAuthenticatorFactory
public String getDisplayType()
getDisplayType
in interface ConfigurableAuthenticatorFactory
public String getReferenceCategory()
getReferenceCategory
in interface ConfigurableAuthenticatorFactory
public boolean isConfigurable()
isConfigurable
in interface ConfigurableAuthenticatorFactory
public AuthenticationExecutionModel.Requirement[] getRequirementChoices()
getRequirementChoices
in interface ConfigurableAuthenticatorFactory
public String getHelpText()
getHelpText
in interface ConfiguredProvider
public List<ProviderConfigProperty> getConfigProperties()
getConfigProperties
in interface ConfiguredProvider
public String getId()
getId
in interface ProviderFactory<Authenticator>
public OTPCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider
in interface CredentialValidator<OTPCredentialProvider>
Copyright © 2021 JBoss by Red Hat. All rights reserved.