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

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

@param configurer Configurer callback.
@return This module.