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
Fields inherited from interface org.keycloak.authentication.ConfigurableAuthenticatorFactory
REQUIREMENT_CHOICES
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session) Friendly name for the authenticatorgetId()
void
init
(Config.Scope config) Only called once when the factory is first created.boolean
isSupported
(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, isUserSetupAllowed
Methods inherited from class org.keycloak.authentication.authenticators.browser.WebAuthnAuthenticatorFactory
close, getConfigProperties, getRequirementChoices, isConfigurable, postInit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.keycloak.provider.ConfiguredProvider
getConfig
Methods 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:ConfigurableAuthenticatorFactory
Friendly name for the authenticator- Specified by:
getDisplayType
in interfaceConfigurableAuthenticatorFactory
- Overrides:
getDisplayType
in classWebAuthnPasswordlessAuthenticatorFactory
- Returns:
-
getHelpText
- Specified by:
getHelpText
in interfaceConfiguredProvider
- Overrides:
getHelpText
in classWebAuthnPasswordlessAuthenticatorFactory
-
create
- Specified by:
create
in interfaceProviderFactory<Authenticator>
- Overrides:
create
in classWebAuthnPasswordlessAuthenticatorFactory
-
init
Description copied from interface:ProviderFactory
Only called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
init
in interfaceProviderFactory<Authenticator>
- Overrides:
init
in classWebAuthnAuthenticatorFactory
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactory
Check if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupported
in interfaceEnvironmentDependentProviderFactory
- Overrides:
isSupported
in classWebAuthnAuthenticatorFactory
- Parameters:
config
- the provider configuration- Returns:
true
if the provider is supported. Otherwise,false
.
-
getId
- Specified by:
getId
in interfaceProviderFactory<Authenticator>
- Overrides:
getId
in classWebAuthnPasswordlessAuthenticatorFactory
-