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, postInitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCredentials, getTypeareRequiredActionsEnabled, getRequiredActionsorderpublic static final String PROVIDER_ID
public void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorpublic boolean requiresUser()
requiresUser in interface Authenticatorpublic boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor in interface Authenticatorpublic void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions in interface Authenticatorpublic boolean isUserSetupAllowed()
isUserSetupAllowed in interface ConfigurableAuthenticatorFactorypublic String getDisplayType()
getDisplayType in interface ConfigurableAuthenticatorFactorypublic String getReferenceCategory()
getReferenceCategory in interface ConfigurableAuthenticatorFactorypublic boolean isConfigurable()
isConfigurable in interface ConfigurableAuthenticatorFactorypublic AuthenticationExecutionModel.Requirement[] getRequirementChoices()
getRequirementChoices in interface ConfigurableAuthenticatorFactorypublic String getHelpText()
getHelpText in interface ConfiguredProviderpublic List<ProviderConfigProperty> getConfigProperties()
getConfigProperties in interface ConfiguredProviderpublic String getId()
getId in interface ProviderFactory<Authenticator>public OTPCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider in interface CredentialValidator<OTPCredentialProvider>Copyright © 2020 JBoss by Red Hat. All rights reserved.