Class ClientCredentialsProviderUtils
java.lang.Object
org.keycloak.protocol.oidc.client.authentication.ClientCredentialsProviderUtils
- Author:
- Marek Posolda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ClientCredentialsProvider
bootstrapClientAuthenticator
(AdapterConfig deployment) static void
loadAuthenticators
(Map<String, ClientCredentialsProvider> authenticators, ClassLoader classLoader) static void
setClientCredentials
(AdapterConfig deployment, ClientCredentialsProvider authenticator, Map<String, String> requestHeaders, Map<String, String> formparams) Use this method when calling backchannel request directly from your application.
-
Constructor Details
-
ClientCredentialsProviderUtils
public ClientCredentialsProviderUtils()
-
-
Method Details
-
bootstrapClientAuthenticator
-
loadAuthenticators
public static void loadAuthenticators(Map<String, ClientCredentialsProvider> authenticators, ClassLoader classLoader) -
setClientCredentials
public static void setClientCredentials(AdapterConfig deployment, ClientCredentialsProvider authenticator, Map<String, String> requestHeaders, Map<String, String> formparams) Use this method when calling backchannel request directly from your application. See service-account example from demo for more details
-