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.ResponsecreateErrorResponse(AuthenticationFlowContext context, String errorCase) fillContextForm(AuthenticationFlowContext context) booleanstatic booleanisPasskeysEnabled(KeycloakSession session) Methods inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnPasswordlessAuthenticator
action, getCredentialProvider, getCredentialType, getRequiredActions, getWebAuthnPolicy, requiresUser, setRequiredActions, shouldDisplayAuthenticators, validateUsernameMethods inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticator
authenticate, close, configuredFor, getRpID, setErrorResponseMethods 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
-
WebAuthnConditionalUIAuthenticator
public WebAuthnConditionalUIAuthenticator(KeycloakSession session, Function<AuthenticationFlowContext, jakarta.ws.rs.core.Response> errorChallenge)
-
-
Method Details
-
fillContextForm
- Overrides:
fillContextFormin classWebAuthnAuthenticator
-
createErrorResponse
protected jakarta.ws.rs.core.Response createErrorResponse(AuthenticationFlowContext context, String errorCase) - Overrides:
createErrorResponsein classWebAuthnAuthenticator
-
isPasskeysEnabled
public boolean isPasskeysEnabled() -
isPasskeysEnabled
-