Class WebAuthnPasswordlessAuthenticator
- java.lang.Object
-
- org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticator
-
- org.keycloak.authentication.authenticators.browser.WebAuthnPasswordlessAuthenticator
-
- All Implemented Interfaces:
org.keycloak.authentication.Authenticator,org.keycloak.authentication.CredentialValidator<WebAuthnCredentialProvider>,org.keycloak.provider.Provider
public class WebAuthnPasswordlessAuthenticator extends WebAuthnAuthenticator
Authenticator for WebAuthn authentication with passwordless credential. This class is temporary and will be likely removed in the future during future improvements in authentication SPI
-
-
Constructor Summary
Constructors Constructor Description WebAuthnPasswordlessAuthenticator(org.keycloak.models.KeycloakSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WebAuthnPasswordlessCredentialProvidergetCredentialProvider(org.keycloak.models.KeycloakSession session)protected StringgetCredentialType()List<org.keycloak.authentication.RequiredActionFactory>getRequiredActions(org.keycloak.models.KeycloakSession session)protected org.keycloak.models.WebAuthnPolicygetWebAuthnPolicy(org.keycloak.authentication.AuthenticationFlowContext context)booleanrequiresUser()voidsetRequiredActions(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)protected booleanshouldDisplayAuthenticators(org.keycloak.authentication.AuthenticationFlowContext context)-
Methods inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticator
action, authenticate, close, configuredFor, getRpID
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getWebAuthnPolicy
protected org.keycloak.models.WebAuthnPolicy getWebAuthnPolicy(org.keycloak.authentication.AuthenticationFlowContext context)
- Overrides:
getWebAuthnPolicyin classWebAuthnAuthenticator
-
getCredentialType
protected String getCredentialType()
- Overrides:
getCredentialTypein classWebAuthnAuthenticator
-
shouldDisplayAuthenticators
protected boolean shouldDisplayAuthenticators(org.keycloak.authentication.AuthenticationFlowContext context)
- Overrides:
shouldDisplayAuthenticatorsin classWebAuthnAuthenticator
-
setRequiredActions
public void setRequiredActions(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)- Specified by:
setRequiredActionsin interfaceorg.keycloak.authentication.Authenticator- Overrides:
setRequiredActionsin classWebAuthnAuthenticator
-
getRequiredActions
public List<org.keycloak.authentication.RequiredActionFactory> getRequiredActions(org.keycloak.models.KeycloakSession session)
- Specified by:
getRequiredActionsin interfaceorg.keycloak.authentication.Authenticator- Overrides:
getRequiredActionsin classWebAuthnAuthenticator
-
getCredentialProvider
public WebAuthnPasswordlessCredentialProvider getCredentialProvider(org.keycloak.models.KeycloakSession session)
- Specified by:
getCredentialProviderin interfaceorg.keycloak.authentication.CredentialValidator<WebAuthnCredentialProvider>- Overrides:
getCredentialProviderin classWebAuthnAuthenticator
-
requiresUser
public boolean requiresUser()
- Specified by:
requiresUserin interfaceorg.keycloak.authentication.Authenticator- Overrides:
requiresUserin classWebAuthnAuthenticator
-
-