modules/jooby-pac4j2/src/main/java/org/jooby/pac4j/Pac4j.java
public Pac4j doWith(Consumer<org.pac4j.core.config.Config> configurer) {
    return doWith((pac4j, conf) -> configurer.accept(pac4j));
  }
public Pac4j doWith(Consumer<org.pac4j.core.config.Config> configurer) {
    return doWith((pac4j, conf) -> configurer.accept(pac4j));
  }
Configurer pa4j options, only necessary it you want to provide your own pac4j components.

<pre>{@code
{
use(new Pac4j()
.doWith(pac4j -> {
pac4j.setSecurityLogic(...);
pac4j.setHttpActionAdapter(...);
})
);
}
}</pre>

@param configurer Configurer callback.
@return This module.