Class DeployedScriptAuthenticatorFactory
java.lang.Object
org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory
org.keycloak.authentication.authenticators.browser.DeployedScriptAuthenticatorFactory
- All Implemented Interfaces:
AuthenticatorFactory
,ConfigurableAuthenticatorFactory
,ConfiguredProvider
,EnvironmentDependentProviderFactory
,ProviderFactory<Authenticator>
- Author:
- Pedro Igor
-
Field Summary
Fields inherited from class org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory
PROVIDER_ID
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreate
(KeycloakSession session) Returns a default configuration for this provider.Friendly name for the authenticatorgetId()
void
init
(Config.Scope config) Only called once when the factory is first created.boolean
Does this authenticator have required actions that can set if the user does not have this authenticator set up?void
postInit
(KeycloakSessionFactory factory) Called after all provider factories have been initializedvoid
setMetadata
(ScriptProviderMetadata metadata) Methods inherited from class org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory
close, getReferenceCategory, getRequirementChoices, isConfigurable, isSupported
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.ProviderFactory
getConfigMetadata, order
-
Constructor Details
-
DeployedScriptAuthenticatorFactory
-
DeployedScriptAuthenticatorFactory
public DeployedScriptAuthenticatorFactory()
-
-
Method Details
-
create
- Specified by:
create
in interfaceProviderFactory<Authenticator>
- Overrides:
create
in classScriptBasedAuthenticatorFactory
-
getId
- Specified by:
getId
in interfaceProviderFactory<Authenticator>
- Overrides:
getId
in classScriptBasedAuthenticatorFactory
-
isUserSetupAllowed
public boolean isUserSetupAllowed()Description copied from interface:ConfigurableAuthenticatorFactory
Does this authenticator have required actions that can set if the user does not have this authenticator set up?- Specified by:
isUserSetupAllowed
in interfaceConfigurableAuthenticatorFactory
- Overrides:
isUserSetupAllowed
in classScriptBasedAuthenticatorFactory
- Returns:
-
getDisplayType
Description copied from interface:ConfigurableAuthenticatorFactory
Friendly name for the authenticator- Specified by:
getDisplayType
in interfaceConfigurableAuthenticatorFactory
- Overrides:
getDisplayType
in classScriptBasedAuthenticatorFactory
- Returns:
-
getHelpText
- Specified by:
getHelpText
in interfaceConfiguredProvider
- Overrides:
getHelpText
in classScriptBasedAuthenticatorFactory
-
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 classScriptBasedAuthenticatorFactory
-
postInit
Description copied from interface:ProviderFactory
Called after all provider factories have been initialized- Specified by:
postInit
in interfaceProviderFactory<Authenticator>
- Overrides:
postInit
in classScriptBasedAuthenticatorFactory
-
getConfigProperties
- Specified by:
getConfigProperties
in interfaceConfiguredProvider
- Overrides:
getConfigProperties
in classScriptBasedAuthenticatorFactory
-
getConfig
Description copied from interface:ConfiguredProvider
Returns a default configuration for this provider.- Returns:
- the default configuration
-
setMetadata
-
getMetadata
-