Package org.keycloak.credential
Interface CredentialProviderFactory<T extends CredentialProvider>
- All Superinterfaces:
ProviderFactory<CredentialProvider>
- All Known Implementing Classes:
OTPCredentialProviderFactory,PasswordCredentialProviderFactory,RecoveryAuthnCodesCredentialProviderFactory,WebAuthnCredentialProviderFactory,WebAuthnPasswordlessCredentialProviderFactory
public interface CredentialProviderFactory<T extends CredentialProvider>
extends ProviderFactory<CredentialProvider>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()This is called when the server shuts down.getId()This is the name of the provider and will be showed in the admin console as an option.default voidinit(Config.Scope config) Only called once when the factory is first created.default voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from interface org.keycloak.provider.ProviderFactory
create, dependsOn, getConfigMetadata, order
-
Method Details
-
getId
String getId()This is the name of the provider and will be showed in the admin console as an option.- Specified by:
getIdin interfaceProviderFactory<T extends CredentialProvider>- Returns:
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<T extends CredentialProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<T extends CredentialProvider>
-
close
default void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<T extends CredentialProvider>
-