Class ClientCredentialsProviderUtils
- java.lang.Object
-
- org.keycloak.protocol.oidc.client.authentication.ClientCredentialsProviderUtils
-
public class ClientCredentialsProviderUtils extends Object
- Author:
- Marek Posolda
-
-
Constructor Summary
Constructors Constructor Description ClientCredentialsProviderUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
bootstrapClientAuthenticator
public static ClientCredentialsProvider bootstrapClientAuthenticator(AdapterConfig deployment)
-
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
-
-