public class WebAuthnRegisterFactory extends Object implements RequiredActionFactory, DisplayTypeRequiredActionFactory, EnvironmentDependentProviderFactory
Modifier and Type | Field and Description |
---|---|
static String |
PROVIDER_ID |
Constructor and Description |
---|
WebAuthnRegisterFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is called when the server shuts down.
|
RequiredActionProvider |
create(KeycloakSession session) |
RequiredActionProvider |
createDisplay(KeycloakSession session,
String displayType) |
protected WebAuthnRegister |
createProvider(KeycloakSession session,
com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator trustValidator) |
String |
getDisplayText()
Display text used in admin console to reference this required action
|
String |
getId() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
boolean |
isSupported() |
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOneTimeAction
order
public static final String PROVIDER_ID
public RequiredActionProvider create(KeycloakSession session)
create
in interface ProviderFactory<RequiredActionProvider>
protected WebAuthnRegister createProvider(KeycloakSession session, com.webauthn4j.validator.attestation.trustworthiness.certpath.CertPathTrustworthinessValidator trustValidator)
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<RequiredActionProvider>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<RequiredActionProvider>
public void close()
ProviderFactory
close
in interface ProviderFactory<RequiredActionProvider>
public String getId()
getId
in interface ProviderFactory<RequiredActionProvider>
public RequiredActionProvider createDisplay(KeycloakSession session, String displayType)
createDisplay
in interface DisplayTypeRequiredActionFactory
public String getDisplayText()
RequiredActionFactory
getDisplayText
in interface RequiredActionFactory
public boolean isSupported()
isSupported
in interface EnvironmentDependentProviderFactory
true
if the provider is supported and should be available, false
otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.