Interface AuthStub

  • All Known Implementing Classes:
    AuthService

    public interface AuthStub
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      io.vertx.core.Future<io.vertx.core.json.JsonObject> authorize​(io.vertx.core.json.JsonObject filters)
      Exchange authorization code by filters ( JsonObject )
      io.vertx.core.Future<io.vertx.core.json.JsonObject> login​(io.vertx.core.json.JsonObject params)
      Login with "username/password"
      io.vertx.core.Future<io.vertx.core.json.JsonObject> token​(io.vertx.core.json.JsonObject filters, io.vertx.ext.web.Session session)
      Exchange token with authorization code
    • Method Detail

      • authorize

        io.vertx.core.Future<io.vertx.core.json.JsonObject> authorize​(io.vertx.core.json.JsonObject filters)
        Exchange authorization code by filters ( JsonObject )
      • token

        io.vertx.core.Future<io.vertx.core.json.JsonObject> token​(io.vertx.core.json.JsonObject filters,
                                                                  io.vertx.ext.web.Session session)
        Exchange token with authorization code
      • login

        io.vertx.core.Future<io.vertx.core.json.JsonObject> login​(io.vertx.core.json.JsonObject params)
        Login with "username/password"