public class BasicAuthOTPAuthenticator extends BasicAuthAuthenticator implements Authenticator, CredentialValidator<OTPCredentialProvider>
ATTEMPTED_USERNAME, REGISTRATION_FORM_ACTION| Constructor and Description |
|---|
BasicAuthOTPAuthenticator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configuredFor(KeycloakSession session,
RealmModel realm,
UserModel user)
Is this authenticator configured for this user.
|
OTPCredentialProvider |
getCredentialProvider(KeycloakSession session) |
protected boolean |
onAuthenticate(AuthenticationFlowContext context,
String[] challenge) |
action, authenticate, challenge, challenge, checkUsernameAndPassword, close, getAuthorizationHeader, getChallenge, requiresUser, setDuplicateUserChallenge, setRequiredActionscreateLoginForm, dummyHash, enabledUser, getDefaultChallengeMessage, isTemporarilyDisabledByBruteForce, runDefaultDummyHash, tempDisabledError, tempDisabledFieldError, testInvalidUser, validatePassword, validatePassword, validateUser, validateUserAndPasswordclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaction, areRequiredActionsEnabled, authenticate, getRequiredActions, requiresUser, setRequiredActionsgetCredentials, getTypeprotected boolean onAuthenticate(AuthenticationFlowContext context, String[] challenge)
onAuthenticate in class BasicAuthAuthenticatorpublic boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
AuthenticatorconfiguredFor in interface AuthenticatorconfiguredFor in class BasicAuthAuthenticatorpublic OTPCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider in interface CredentialValidator<OTPCredentialProvider>Copyright © 2021 JBoss by Red Hat. All rights reserved.