net.optionfactory.keycloak.email.CidEmbeddingEmailSenderProviderFactory Maven / Gradle / Ivy
package net.optionfactory.keycloak.email;
import org.keycloak.Config;
import org.keycloak.email.EmailSenderProvider;
import org.keycloak.email.EmailSenderProviderFactory;
import org.keycloak.models.KeycloakSession;
import org.keycloak.models.KeycloakSessionFactory;
public class CidEmbeddingEmailSenderProviderFactory implements EmailSenderProviderFactory {
@Override
public EmailSenderProvider create(KeycloakSession session) {
return new CidEmbeddingEmailSenderProvider(session);
}
@Override
public void init(Config.Scope config) {
}
@Override
public void postInit(KeycloakSessionFactory factory) {
}
@Override
public void close() {
}
@Override
public String getId() {
return "opfa-cid-embedding";
}
}