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 WebAuthnPasswordlessCredentialProvider
getCredentialProvider(org.keycloak.models.KeycloakSession session)
protected String
getCredentialType()
List<org.keycloak.authentication.RequiredActionFactory>
getRequiredActions(org.keycloak.models.KeycloakSession session)
protected org.keycloak.models.WebAuthnPolicy
getWebAuthnPolicy(org.keycloak.authentication.AuthenticationFlowContext context)
boolean
requiresUser()
void
setRequiredActions(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)
protected boolean
shouldDisplayAuthenticators(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:
getWebAuthnPolicy
in classWebAuthnAuthenticator
-
getCredentialType
protected String getCredentialType()
- Overrides:
getCredentialType
in classWebAuthnAuthenticator
-
shouldDisplayAuthenticators
protected boolean shouldDisplayAuthenticators(org.keycloak.authentication.AuthenticationFlowContext context)
- Overrides:
shouldDisplayAuthenticators
in classWebAuthnAuthenticator
-
setRequiredActions
public void setRequiredActions(org.keycloak.models.KeycloakSession session, org.keycloak.models.RealmModel realm, org.keycloak.models.UserModel user)
- Specified by:
setRequiredActions
in interfaceorg.keycloak.authentication.Authenticator
- Overrides:
setRequiredActions
in classWebAuthnAuthenticator
-
getRequiredActions
public List<org.keycloak.authentication.RequiredActionFactory> getRequiredActions(org.keycloak.models.KeycloakSession session)
- Specified by:
getRequiredActions
in interfaceorg.keycloak.authentication.Authenticator
- Overrides:
getRequiredActions
in classWebAuthnAuthenticator
-
getCredentialProvider
public WebAuthnPasswordlessCredentialProvider getCredentialProvider(org.keycloak.models.KeycloakSession session)
- Specified by:
getCredentialProvider
in interfaceorg.keycloak.authentication.CredentialValidator<WebAuthnCredentialProvider>
- Overrides:
getCredentialProvider
in classWebAuthnAuthenticator
-
requiresUser
public boolean requiresUser()
- Specified by:
requiresUser
in interfaceorg.keycloak.authentication.Authenticator
- Overrides:
requiresUser
in classWebAuthnAuthenticator
-
-