vertx / io.vertx.kotlin.mysqlclient / mySQLAuthOptionsOf

# mySQLAuthOptionsOf

`fun mySQLAuthOptionsOf(charset: String? = null, collation: String? = null, database: String? = null, password: String? = null, properties: Map<String, String>? = null, serverRsaPublicKeyPath: String? = null, serverRsaPublicKeyValue: Buffer? = null, user: String? = null): MySQLAuthOptions`

A function providing a DSL for building io.vertx.mysqlclient.MySQLAuthOptions objects.

Authentication options for MySQL authentication which can be used for CHANGE_USER command.

### Parameters

`charset` - Set the charset for the connection.

`collation` - Set the collation for the connection.

`database` - Specify the default database for the re-authentication.

`password` - Specify the user password to be used for the authentication.

`properties` - Set connection attributes which will be sent to server at the re-authentication.

`serverRsaPublicKeyPath` - Set the path of server RSA public key which is mostly used for encrypting password under insecure connections when performing authentication.

`serverRsaPublicKeyValue` - Set the value of server RSA public key which is mostly used for encrypting password under insecure connections when performing authentication.

`user` - Specify the user account to be used for the authentication.