io.vertx.ext.auth.sqlclient

## Class SqlAuthenticationOptions

- java.lang.Object
- - io.vertx.ext.auth.sqlclient.SqlAuthenticationOptions

-     public class SqlAuthenticationOptions
      extends Object

  Options configuring JDBC authentication.
  Author:
    Julien Viet

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SqlAuthenticationOptions()`
    `SqlAuthenticationOptions(JsonObject json)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAuthenticationQuery()`
    `SqlAuthenticationOptions` | `setAuthenticationQuery(String authenticationQuery)` Set the authentication query to use.
    `JsonObject` | `toJson()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SqlAuthenticationOptions

          public SqlAuthenticationOptions()

    - #### SqlAuthenticationOptions

          public SqlAuthenticationOptions(JsonObject json)

  - ### Method Detail

    - #### getAuthenticationQuery

          public String getAuthenticationQuery()

    - #### setAuthenticationQuery

          public SqlAuthenticationOptions setAuthenticationQuery(String authenticationQuery)

      Set the authentication query to use. Use this if you want to override the default authentication query.
      Parameters:
        `authenticationQuery` - the authentication query
      Returns:
        a reference to this, so the API can be used fluently

    - #### toJson

          public JsonObject toJson()

Copyright © 2024 Eclipse. All rights reserved.