public class OTPFormAuthenticator extends AbstractUsernameFormAuthenticator implements Authenticator
ATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION| Constructor and Description |
|---|
OTPFormAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
void |
action(AuthenticationFlowContext context) |
void |
authenticate(AuthenticationFlowContext context) |
protected javax.ws.rs.core.Response |
challenge(AuthenticationFlowContext context,
String error) |
void |
close() |
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user) |
boolean |
requiresUser() |
void |
setRequiredActions(KeycloakSession session,
RealmModel realm,
UserModel user) |
void |
validateOTP(AuthenticationFlowContext context) |
disabledUser, enabledUser, invalidCredentials, invalidUser, invalidUser, setDuplicateUserChallenge, temporarilyDisabledUser, validatePassword, validateUserAndPasswordpublic void action(AuthenticationFlowContext context)
action in interface Authenticatoraction in class AbstractUsernameFormAuthenticatorpublic void authenticate(AuthenticationFlowContext context)
authenticate in interface Authenticatorpublic void validateOTP(AuthenticationFlowContext context)
public boolean requiresUser()
requiresUser in interface Authenticatorprotected javax.ws.rs.core.Response challenge(AuthenticationFlowContext context, String error)
public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
configuredFor in interface Authenticatorpublic void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)
setRequiredActions in interface Authenticatorpublic void close()
close in interface Providerclose in class AbstractFormAuthenticatorCopyright © 2017 JBoss by Red Hat. All rights reserved.