init Keycloak Client
fun initKeycloakClient(baseUrl: String, adminUser: String, adminPassword: String, adminUseOauth: Boolean, adminUseOauthLocalPort: Int, realm: String, clientId: String, logger: Logger? = null, totp: String = "", tokenOffsetMs: Long = 1000): KeycloakClient
Content copied to clipboard
Builds the KeycloakClient
Parameters
base Url
base url of the keycloak instance e.g. http://localhost:8080/auth
admin User
user to execute the migrations. executed migrations are stored in the user-attributes as hashes
admin Password
password of the user to execute the migrations
realm
Realm to use for the login of the user
client Id
id of the client to use for the login of the user