public class OTPFormAuthenticatorFactory extends Object implements AuthenticatorFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
PROVIDER_ID |
static AuthenticationExecutionModel.Requirement[] |
REQUIREMENT_CHOICES |
static OTPFormAuthenticator |
SINGLETON |
| Constructor and Description |
|---|
OTPFormAuthenticatorFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is called when the server shuts down.
|
Authenticator |
create(KeycloakSession session) |
List<ProviderConfigProperty> |
getConfigProperties() |
String |
getDisplayType()
Friendly name for the authenticator
|
String |
getHelpText() |
String |
getId() |
String |
getReferenceCategory()
General authenticator type, i.e.
|
AuthenticationExecutionModel.Requirement[] |
getRequirementChoices()
What requirement settings are allowed.
|
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
boolean |
isConfigurable()
Is this authenticator configurable?
|
boolean |
isUserSetupAllowed()
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 initialized
|
public static final String PROVIDER_ID
public static final OTPFormAuthenticator SINGLETON
public static final AuthenticationExecutionModel.Requirement[] REQUIREMENT_CHOICES
public Authenticator create(KeycloakSession session)
create in interface ProviderFactory<Authenticator>public void init(Config.Scope config)
ProviderFactoryinit in interface ProviderFactory<Authenticator>public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<Authenticator>public void close()
ProviderFactoryclose in interface ProviderFactory<Authenticator>public String getId()
getId in interface ProviderFactory<Authenticator>public String getReferenceCategory()
ConfigurableAuthenticatorFactorygetReferenceCategory in interface ConfigurableAuthenticatorFactorypublic boolean isConfigurable()
ConfigurableAuthenticatorFactoryisConfigurable in interface ConfigurableAuthenticatorFactorypublic boolean isUserSetupAllowed()
ConfigurableAuthenticatorFactoryisUserSetupAllowed in interface ConfigurableAuthenticatorFactorypublic AuthenticationExecutionModel.Requirement[] getRequirementChoices()
ConfigurableAuthenticatorFactorygetRequirementChoices in interface ConfigurableAuthenticatorFactorypublic String getDisplayType()
ConfigurableAuthenticatorFactorygetDisplayType in interface ConfigurableAuthenticatorFactorypublic String getHelpText()
getHelpText in interface ConfiguredProviderpublic List<ProviderConfigProperty> getConfigProperties()
getConfigProperties in interface ConfiguredProviderCopyright © 2016 JBoss by Red Hat. All rights reserved.