Search in sources :

Example 1 with JDBCAuth

use of io.vertx.ext.auth.jdbc.JDBCAuth in project vertx-auth by vert-x3.

the class AuthJDBCExamples method example5.

public void example5(Vertx vertx, JsonObject jdbcClientConfig) {
    JDBCClient jdbcClient = JDBCClient.createShared(vertx, jdbcClientConfig);
    JDBCAuth authProvider = JDBCAuth.create(vertx, jdbcClient);
}
Also used : JDBCClient(io.vertx.ext.jdbc.JDBCClient) JDBCAuth(io.vertx.ext.auth.jdbc.JDBCAuth)

Aggregations

JDBCAuth (io.vertx.ext.auth.jdbc.JDBCAuth)1 JDBCClient (io.vertx.ext.jdbc.JDBCClient)1