auth

fun auth(username: String, password: String)

Provide the authentication details in case the Apicurio Schema Registry uses Basic Authentication.

Parameters

username

The basic authentication username.

password

The basic authentication password.


fun auth(authServerUrl: String, clientId: String, clientSecret: String)

Provide the authentication details in case the Apicurio Schema Registry uses OAuth.

Parameters

authServerUrl

The URL of the authentication server used for the Apicurio Schema Registry.

clientId

The client ID for the authentication server.

clientSecret

The client secret passphrase for the authentication server.