package io.vertx.groovy.ext.web.handler;
public class JWTAuthHandler_GroovyExtension {
public static void parseCredentials(io.vertx.ext.web.handler.JWTAuthHandler j_receiver, io.vertx.ext.web.RoutingContext context, io.vertx.core.Handler<io.vertx.core.AsyncResult<java.util.Map<String, Object>>> handler) {
j_receiver.parseCredentials(context,
handler != null ? new io.vertx.core.Handler<io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject>>() {
public void handle(io.vertx.core.AsyncResult<io.vertx.core.json.JsonObject> ar) {
handler.handle(ar.map(event -> io.vertx.core.impl.ConversionHelper.fromJsonObject(event)));
}
} : null);
}
}