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, setRequiredActions
createLoginForm, disabledByBruteForceError, disabledByBruteForceFieldError, dummyHash, enabledUser, getDefaultChallengeMessage, isDisabledByBruteForce, runDefaultDummyHash, testInvalidUser, validatePassword, validatePassword, validateUser, validateUserAndPassword
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
action, areRequiredActionsEnabled, authenticate, getRequiredActions, requiresUser, setRequiredActions
getCredentials, getType
protected boolean onAuthenticate(AuthenticationFlowContext context, String[] challenge)
onAuthenticate
in class BasicAuthAuthenticator
public boolean configuredFor(KeycloakSession session, RealmModel realm, UserModel user)
Authenticator
configuredFor
in interface Authenticator
configuredFor
in class BasicAuthAuthenticator
public OTPCredentialProvider getCredentialProvider(KeycloakSession session)
getCredentialProvider
in interface CredentialValidator<OTPCredentialProvider>
Copyright © 2021 JBoss by Red Hat. All rights reserved.