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, waitisOneTimeActionorderpublic 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)
ProviderFactoryinit in interface ProviderFactory<RequiredActionProvider>public void postInit(KeycloakSessionFactory factory)
ProviderFactorypostInit in interface ProviderFactory<RequiredActionProvider>public void close()
ProviderFactoryclose in interface ProviderFactory<RequiredActionProvider>public String getId()
getId in interface ProviderFactory<RequiredActionProvider>public RequiredActionProvider createDisplay(KeycloakSession session, String displayType)
createDisplay in interface DisplayTypeRequiredActionFactorypublic String getDisplayText()
RequiredActionFactorygetDisplayText in interface RequiredActionFactorypublic boolean isSupported()
isSupported in interface EnvironmentDependentProviderFactorytrue if the provider is supported and should be available, false otherwiseCopyright © 2021 JBoss by Red Hat. All rights reserved.