io.phasetwo.keycloak.themes.resource.AssetsResourceProviderFactory Maven / Gradle / Ivy
package io.phasetwo.keycloak.themes.resource;
import com.google.auto.service.AutoService;
import org.keycloak.Config.Scope;
import org.keycloak.models.KeycloakSession;
import org.keycloak.models.KeycloakSessionFactory;
import org.keycloak.services.resource.RealmResourceProvider;
import org.keycloak.services.resource.RealmResourceProviderFactory;
@AutoService(RealmResourceProviderFactory.class)
public class AssetsResourceProviderFactory implements RealmResourceProviderFactory {
public static final String ID = "assets";
@Override
public String getId() {
return ID;
}
@Override
public RealmResourceProvider create(KeycloakSession session) {
return new AssetsResourceProvider(session);
}
@Override
public void init(Scope config) {}
@Override
public void postInit(KeycloakSessionFactory factory) {}
@Override
public void close() {}
}