Class WebAuthnConditionalUIAuthenticator
java.lang.Object
org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticator
org.keycloak.authentication.authenticators.browser.WebAuthnPasswordlessAuthenticator
org.keycloak.authentication.authenticators.browser.WebAuthnConditionalUIAuthenticator
- All Implemented Interfaces:
Authenticator
,CredentialValidator<WebAuthnCredentialProvider>
,Provider
- Author:
- rmartinc
-
Field Summary
Fields inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticator
session
-
Constructor Summary
ConstructorsConstructorDescriptionWebAuthnConditionalUIAuthenticator
(KeycloakSession session, Function<AuthenticationFlowContext, jakarta.ws.rs.core.Response> errorChallenge) -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.ws.rs.core.Response
createErrorResponse
(AuthenticationFlowContext context, String errorCase) fillContextForm
(AuthenticationFlowContext context) boolean
Methods inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnPasswordlessAuthenticator
action, getCredentialProvider, getCredentialType, getRequiredActions, getWebAuthnPolicy, requiresUser, setRequiredActions, shouldDisplayAuthenticators, validateUsername
Methods inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticator
authenticate, close, configuredFor, getRpID, setErrorResponse
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.authentication.Authenticator
areRequiredActionsEnabled
Methods inherited from interface org.keycloak.authentication.CredentialValidator
getCredentials, getType
-
Constructor Details
-
WebAuthnConditionalUIAuthenticator
public WebAuthnConditionalUIAuthenticator(KeycloakSession session, Function<AuthenticationFlowContext, jakarta.ws.rs.core.Response> errorChallenge)
-
-
Method Details
-
fillContextForm
- Overrides:
fillContextForm
in classWebAuthnAuthenticator
-
createErrorResponse
protected jakarta.ws.rs.core.Response createErrorResponse(AuthenticationFlowContext context, String errorCase) - Overrides:
createErrorResponse
in classWebAuthnAuthenticator
-
isPasskeysEnabled
public boolean isPasskeysEnabled()
-