Class WebAuthnPasswordlessAuthenticator
- java.lang.Object
- 
- org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticator
- 
- org.keycloak.authentication.authenticators.browser.WebAuthnPasswordlessAuthenticator
 
 
- 
- All Implemented Interfaces:
- Authenticator,- CredentialValidator<WebAuthnCredentialProvider>,- 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 SummaryConstructors Constructor Description WebAuthnPasswordlessAuthenticator(KeycloakSession session)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description WebAuthnPasswordlessCredentialProvidergetCredentialProvider(KeycloakSession session)protected StringgetCredentialType()List<RequiredActionFactory>getRequiredActions(KeycloakSession session)Overwrite this if the authenticator is associated withprotected WebAuthnPolicygetWebAuthnPolicy(AuthenticationFlowContext context)booleanrequiresUser()Does this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?voidsetRequiredActions(KeycloakSession session, RealmModel realm, UserModel user)Set actions to configure authenticatorprotected booleanshouldDisplayAuthenticators(AuthenticationFlowContext context)- 
Methods inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticatoraction, authenticate, close, configuredFor, getRpID
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.authentication.AuthenticatorareRequiredActionsEnabled
 - 
Methods inherited from interface org.keycloak.authentication.CredentialValidatorgetCredentials, getType
 
- 
 
- 
- 
- 
Constructor Detail- 
WebAuthnPasswordlessAuthenticatorpublic WebAuthnPasswordlessAuthenticator(KeycloakSession session) 
 
- 
 - 
Method Detail- 
getWebAuthnPolicyprotected WebAuthnPolicy getWebAuthnPolicy(AuthenticationFlowContext context) - Overrides:
- getWebAuthnPolicyin class- WebAuthnAuthenticator
 
 - 
getCredentialTypeprotected String getCredentialType() - Overrides:
- getCredentialTypein class- WebAuthnAuthenticator
 
 - 
shouldDisplayAuthenticatorsprotected boolean shouldDisplayAuthenticators(AuthenticationFlowContext context) - Overrides:
- shouldDisplayAuthenticatorsin class- WebAuthnAuthenticator
 
 - 
setRequiredActionspublic void setRequiredActions(KeycloakSession session, RealmModel realm, UserModel user) Description copied from interface:AuthenticatorSet actions to configure authenticator- Specified by:
- setRequiredActionsin interface- Authenticator
- Overrides:
- setRequiredActionsin class- WebAuthnAuthenticator
 
 - 
getRequiredActionspublic List<RequiredActionFactory> getRequiredActions(KeycloakSession session) Description copied from interface:AuthenticatorOverwrite this if the authenticator is associated with- Specified by:
- getRequiredActionsin interface- Authenticator
- Overrides:
- getRequiredActionsin class- WebAuthnAuthenticator
- Returns:
 
 - 
getCredentialProviderpublic WebAuthnPasswordlessCredentialProvider getCredentialProvider(KeycloakSession session) - Specified by:
- getCredentialProviderin interface- CredentialValidator<WebAuthnCredentialProvider>
- Overrides:
- getCredentialProviderin class- WebAuthnAuthenticator
 
 - 
requiresUserpublic boolean requiresUser() Description copied from interface:AuthenticatorDoes this authenticator require that the user has already been identified? That AuthenticatorContext.getUser() is not null?- Specified by:
- requiresUserin interface- Authenticator
- Overrides:
- requiresUserin class- WebAuthnAuthenticator
- Returns:
 
 
- 
 
-