package at.gv.egiz.eaaf.core.impl.idp.auth.services;
import java.util.Map;
import javax.annotation.Nonnull;
import at.gv.egiz.eaaf.core.api.IRequest;
/**
* Extension point to add GUI model parameters into error-handling.
*
* @author tlenz
*
*/
public interface IErrorServiceModelHandler {
/**
* Get GUI model elements that should be added into error model.
*
* @param pendingReq Current pendingRequest, but never null
* @return Model elements to add, but never null
*/
@Nonnull
Map elementsForErrorModel(@Nonnull IRequest pendingReq);
}