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
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreate(KeycloakSession session) Returns a default configuration for this provider.Friendly name for the authenticatorgetId()voidinit(Config.Scope config) Only called once when the factory is first created.booleanbooleanDoes this authenticator have required actions that can set if the user does not have this authenticator set up?voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedvoidsetMetadata(ScriptProviderMetadata metadata) Methods inherited from class org.keycloak.authentication.authenticators.browser.ScriptBasedAuthenticatorFactory
close, getReferenceCategory, getRequirementChoices, isConfigurableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactory
isSupportedMethods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
Constructor Details
-
DeployedScriptAuthenticatorFactory
-
DeployedScriptAuthenticatorFactory
public DeployedScriptAuthenticatorFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<Authenticator>- Overrides:
createin classScriptBasedAuthenticatorFactory
-
getId
- Specified by:
getIdin interfaceProviderFactory<Authenticator>- Overrides:
getIdin classScriptBasedAuthenticatorFactory
-
isUserSetupAllowed
public boolean isUserSetupAllowed()Description copied from interface:ConfigurableAuthenticatorFactoryDoes this authenticator have required actions that can set if the user does not have this authenticator set up?- Specified by:
isUserSetupAllowedin interfaceConfigurableAuthenticatorFactory- Overrides:
isUserSetupAllowedin classScriptBasedAuthenticatorFactory- Returns:
-
getDisplayType
Description copied from interface:ConfigurableAuthenticatorFactoryFriendly name for the authenticator- Specified by:
getDisplayTypein interfaceConfigurableAuthenticatorFactory- Overrides:
getDisplayTypein classScriptBasedAuthenticatorFactory- Returns:
-
getHelpText
- Specified by:
getHelpTextin interfaceConfiguredProvider- Overrides:
getHelpTextin classScriptBasedAuthenticatorFactory
-
isSupported
public boolean isSupported()- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Overrides:
isSupportedin classScriptBasedAuthenticatorFactory- Returns:
trueif the provider is supported and should be available,falseotherwise
-
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 classScriptBasedAuthenticatorFactory
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<Authenticator>- Overrides:
postInitin classScriptBasedAuthenticatorFactory
-
getConfigProperties
- Specified by:
getConfigPropertiesin interfaceConfiguredProvider- Overrides:
getConfigPropertiesin classScriptBasedAuthenticatorFactory
-
getConfig
Description copied from interface:ConfiguredProviderReturns a default configuration for this provider.- Returns:
- the default configuration
-
setMetadata
-
getMetadata
-