Class KeycloakClientFactory
java.lang.Object
org.bremersee.keycloak.api.webflux.KeycloakClientFactory
The keycloak client factory.
- Author:
- Christian Bremer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected reactivefeign.client.ReactiveHttpRequestInterceptorGets login interceptor.New client admin api.
-
Constructor Details
-
KeycloakClientFactory
public KeycloakClientFactory(String keycloakBaseUri, String loginRealm, String clientId, String username, String password) Instantiates a new Keycloak client factory.- Parameters:
keycloakBaseUri- the keycloak base uriloginRealm- the login realmclientId- the client idusername- the usernamepassword- the password
-
-
Method Details
-
newClient
New client admin api.- Returns:
- the admin api
-
getLoginInterceptor
protected reactivefeign.client.ReactiveHttpRequestInterceptor getLoginInterceptor()Gets login interceptor.- Returns:
- the login interceptor
-