Class WebAuthnAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticator
- All Implemented Interfaces:
Authenticator,CredentialValidator<WebAuthnCredentialProvider>,Provider
- Direct Known Subclasses:
WebAuthnPasswordlessAuthenticator
public class WebAuthnAuthenticator
extends Object
implements Authenticator, CredentialValidator<WebAuthnCredentialProvider>
Authenticator for WebAuthn authentication, which will be typically used when WebAuthn is used as second factor.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaction(AuthenticationFlowContext context) voidauthenticate(AuthenticationFlowContext context) voidclose()booleanconfiguredFor(KeycloakSession session, RealmModel realm, UserModel user) getCredentialProvider(KeycloakSession session) protected StringgetRequiredActions(KeycloakSession session) protected StringgetRpID(AuthenticationFlowContext context) protected WebAuthnPolicybooleanvoidsetRequiredActions(KeycloakSession session, RealmModel realm, UserModel user) protected booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.authentication.Authenticator
areRequiredActionsEnabledMethods inherited from interface org.keycloak.authentication.CredentialValidator
getCredentials, getType
-
Constructor Details
-
WebAuthnAuthenticator
-
-
Method Details
-
authenticate
- Specified by:
authenticatein interfaceAuthenticator
-
getWebAuthnPolicy
-
getRpID
-
getCredentialType
-
shouldDisplayAuthenticators
-
action
- Specified by:
actionin interfaceAuthenticator
-
requiresUser
public boolean requiresUser()- Specified by:
requiresUserin interfaceAuthenticator
-
configuredFor
- Specified by:
configuredForin interfaceAuthenticator
-
setRequiredActions
- Specified by:
setRequiredActionsin interfaceAuthenticator
-
getRequiredActions
- Specified by:
getRequiredActionsin interfaceAuthenticator
-
close
public void close() -
getCredentialProvider
- Specified by:
getCredentialProviderin interfaceCredentialValidator<WebAuthnCredentialProvider>
-