Class WebAuthnConditionalUIAuthenticator

All Implemented Interfaces:
org.keycloak.authentication.Authenticator, org.keycloak.authentication.CredentialValidator<WebAuthnCredentialProvider>, org.keycloak.provider.Provider

public class WebAuthnConditionalUIAuthenticator extends WebAuthnPasswordlessAuthenticator
Author:
rmartinc
  • Constructor Details

    • WebAuthnConditionalUIAuthenticator

      public WebAuthnConditionalUIAuthenticator(org.keycloak.models.KeycloakSession session, Function<org.keycloak.authentication.AuthenticationFlowContext,jakarta.ws.rs.core.Response> errorChallenge)
  • Method Details

    • fillContextForm

      public org.keycloak.forms.login.LoginFormsProvider fillContextForm(org.keycloak.authentication.AuthenticationFlowContext context)
      Overrides:
      fillContextForm in class WebAuthnAuthenticator
    • createErrorResponse

      protected jakarta.ws.rs.core.Response createErrorResponse(org.keycloak.authentication.AuthenticationFlowContext context, String errorCase)
      Overrides:
      createErrorResponse in class WebAuthnAuthenticator
    • isPasskeysEnabled

      public boolean isPasskeysEnabled()
    • isPasskeysEnabled

      public static boolean isPasskeysEnabled(org.keycloak.models.KeycloakSession session)