Class ConsoleOTPFormAuthenticator
- java.lang.Object
-
- org.keycloak.authentication.AbstractFormAuthenticator
-
- org.keycloak.authentication.authenticators.browser.AbstractUsernameFormAuthenticator
-
- org.keycloak.authentication.authenticators.browser.OTPFormAuthenticator
-
- org.keycloak.authentication.authenticators.console.ConsoleOTPFormAuthenticator
-
- All Implemented Interfaces:
org.keycloak.authentication.Authenticator,org.keycloak.authentication.CredentialValidator<OTPCredentialProvider>,org.keycloak.provider.Provider
public class ConsoleOTPFormAuthenticator extends OTPFormAuthenticator implements org.keycloak.authentication.Authenticator
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Field Summary
Fields Modifier and Type Field Description static ConsoleOTPFormAuthenticatorSINGLETON-
Fields inherited from class org.keycloak.authentication.authenticators.browser.OTPFormAuthenticator
SELECTED_OTP_CREDENTIAL_ID, UNNAMED
-
Fields inherited from class org.keycloak.authentication.authenticators.browser.AbstractUsernameFormAuthenticator
ATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION, USER_SET_BEFORE_USERNAME_PASSWORD_AUTH
-
-
Constructor Summary
Constructors Constructor Description ConsoleOTPFormAuthenticator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaction(org.keycloak.authentication.AuthenticationFlowContext context)voidauthenticate(org.keycloak.authentication.AuthenticationFlowContext context)protected org.keycloak.authentication.ConsoleDisplayModechallenge(org.keycloak.authentication.AuthenticationFlowContext context)protected javax.ws.rs.core.Responsechallenge(org.keycloak.authentication.AuthenticationFlowContext context, String msg)voidclose()static URIgetCallbackUrl(org.keycloak.authentication.AuthenticationFlowContext context)-
Methods inherited from class org.keycloak.authentication.authenticators.browser.OTPFormAuthenticator
configuredFor, createLoginForm, disabledByBruteForceError, disabledByBruteForceFieldError, getCredentialProvider, getRequiredActions, requiresUser, setRequiredActions, validateOTP
-
Methods inherited from class org.keycloak.authentication.authenticators.browser.AbstractUsernameFormAuthenticator
challenge, dummyHash, enabledUser, getDefaultChallengeMessage, isDisabledByBruteForce, isUserAlreadySetBeforeUsernamePasswordAuth, runDefaultDummyHash, setDuplicateUserChallenge, testInvalidUser, validatePassword, validateUser, validateUserAndPassword
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Field Detail
-
SINGLETON
public static final ConsoleOTPFormAuthenticator SINGLETON
-
-
Method Detail
-
getCallbackUrl
public static URI getCallbackUrl(org.keycloak.authentication.AuthenticationFlowContext context)
-
challenge
protected org.keycloak.authentication.ConsoleDisplayMode challenge(org.keycloak.authentication.AuthenticationFlowContext context)
-
action
public void action(org.keycloak.authentication.AuthenticationFlowContext context)
- Specified by:
actionin interfaceorg.keycloak.authentication.Authenticator- Overrides:
actionin classOTPFormAuthenticator
-
authenticate
public void authenticate(org.keycloak.authentication.AuthenticationFlowContext context)
- Specified by:
authenticatein interfaceorg.keycloak.authentication.Authenticator- Overrides:
authenticatein classOTPFormAuthenticator
-
challenge
protected javax.ws.rs.core.Response challenge(org.keycloak.authentication.AuthenticationFlowContext context, String msg)- Overrides:
challengein classAbstractUsernameFormAuthenticator
-
close
public void close()
- Specified by:
closein interfaceorg.keycloak.provider.Provider- Overrides:
closein classOTPFormAuthenticator
-
-