All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.ext.web.handler.impl.NOOPAuthenticationProvider Maven / Gradle / Ivy

There is a newer version: 5.0.0.CR1
Show newest version
package io.vertx.ext.web.handler.impl;

import io.vertx.core.AsyncResult;
import io.vertx.core.Future;
import io.vertx.core.Handler;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.auth.User;
import io.vertx.ext.auth.authentication.AuthenticationProvider;

final class NOOPAuthenticationProvider implements AuthenticationProvider {
  @Override
  public void authenticate(JsonObject credentials, Handler> handler) {
    handler.handle(Future.failedFuture("NOOP Provider does not authenticate"));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy