initKeycloakLoginClient

fun initKeycloakLoginClient(baseUrl: String, logger: Logger? = null): KeycloakLoginClient

Builds the KeycloakLoginClient Only build this if you just need a token and don't need any other keycloak resources. initKeycloakClient automatically acquires tokens.

Parameters

baseUrl

base url of the keycloak instance e.g. http://localhost:8080/auth