Package org.keycloak.credential
Class WebAuthnCredentialProviderFactory
java.lang.Object
org.keycloak.credential.WebAuthnCredentialProviderFactory
- All Implemented Interfaces:
CredentialProviderFactory<WebAuthnCredentialProvider>,EnvironmentDependentProviderFactory,ProviderFactory<CredentialProvider>
- Direct Known Subclasses:
WebAuthnPasswordlessCredentialProviderFactory
public class WebAuthnCredentialProviderFactory
extends Object
implements CredentialProviderFactory<WebAuthnCredentialProvider>, EnvironmentDependentProviderFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(KeycloakSession session) protected com.webauthn4j.converter.util.ObjectConvertergetId()This is the name of the provider and will be showed in the admin console as an option.protected WebAuthnMetadataServicebooleanisSupported(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.credential.CredentialProviderFactory
close, init, postInitMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, order
-
Field Details
-
PROVIDER_ID
- See Also:
-
-
Constructor Details
-
WebAuthnCredentialProviderFactory
public WebAuthnCredentialProviderFactory()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<CredentialProvider>
-
createOrGetObjectConverter
protected com.webauthn4j.converter.util.ObjectConverter createOrGetObjectConverter() -
getId
Description copied from interface:CredentialProviderFactoryThis is the name of the provider and will be showed in the admin console as an option.- Specified by:
getIdin interfaceCredentialProviderFactory<WebAuthnCredentialProvider>- Specified by:
getIdin interfaceProviderFactory<CredentialProvider>
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactoryCheck if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Parameters:
config- the provider configuration- Returns:
trueif the provider is supported. Otherwise,false.
-
getMetadataService
-