Class PasskeysConditionalUIAuthenticatorFactory
java.lang.Object
org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticatorFactory
org.keycloak.authentication.authenticators.browser.WebAuthnPasswordlessAuthenticatorFactory
org.keycloak.authentication.authenticators.browser.PasskeysConditionalUIAuthenticatorFactory
- All Implemented Interfaces:
AuthenticatorFactory,ConfigurableAuthenticatorFactory,ConfiguredProvider,EnvironmentDependentProviderFactory,ProviderFactory<Authenticator>
public class PasskeysConditionalUIAuthenticatorFactory
extends WebAuthnPasswordlessAuthenticatorFactory
implements EnvironmentDependentProviderFactory
- Author:
- Takashi Norimatsu
-
Field Summary
FieldsFields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
REQUIREMENT_CHOICES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(KeycloakSession session) Friendly name for the authenticatorgetId()voidinit(Config.Scope config) Only called once when the factory is first created.booleanisSupported(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.Methods inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnPasswordlessAuthenticatorFactory
getReferenceCategory, isUserSetupAllowedMethods inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticatorFactory
close, getConfigProperties, getRequirementChoices, isConfigurable, postInitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfigMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
PasskeysConditionalUIAuthenticatorFactory
public PasskeysConditionalUIAuthenticatorFactory()
-
-
Method Details
-
getDisplayType
Description copied from interface:ConfigurableAuthenticatorFactoryFriendly name for the authenticator- Specified by:
getDisplayTypein interfaceConfigurableAuthenticatorFactory- Overrides:
getDisplayTypein classWebAuthnPasswordlessAuthenticatorFactory- Returns:
-
getHelpText
- Specified by:
getHelpTextin interfaceConfiguredProvider- Overrides:
getHelpTextin classWebAuthnPasswordlessAuthenticatorFactory
-
create
- Specified by:
createin interfaceProviderFactory<Authenticator>- Overrides:
createin classWebAuthnPasswordlessAuthenticatorFactory
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
initin interfaceProviderFactory<Authenticator>- Overrides:
initin classWebAuthnAuthenticatorFactory
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactoryCheck if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Overrides:
isSupportedin classWebAuthnAuthenticatorFactory- Parameters:
config- the provider configuration- Returns:
trueif the provider is supported. Otherwise,false.
-
getId
- Specified by:
getIdin interfaceProviderFactory<Authenticator>- Overrides:
getIdin classWebAuthnPasswordlessAuthenticatorFactory
-