public class ClientAuthenticationBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_ID_KEY |
static String |
CLIENT_NAME_KEY |
| Constructor and Description |
|---|
ClientAuthenticationBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ClientAuthentication |
build()
When building the
ClientAuthentication, the clientId and clientName are also placed in the authentication properties
in order to be able to propagate them between different Authentication implementations
without having to do any mapping. |
ClientAuthenticationBuilder |
withClientId(String clientId) |
ClientAuthenticationBuilder |
withClientName(String clientName) |
ClientAuthenticationBuilder |
withClientSecret(String clientSecret) |
ClientAuthenticationBuilder |
withProperties(Map<String,Object> properties) |
public static final String CLIENT_ID_KEY
public static final String CLIENT_NAME_KEY
public ClientAuthenticationBuilder withClientId(String clientId)
public ClientAuthenticationBuilder withClientSecret(String clientSecret)
public ClientAuthenticationBuilder withClientName(String clientName)
public ClientAuthenticationBuilder withProperties(Map<String,Object> properties)
public ClientAuthentication build()
ClientAuthentication, the clientId and clientName are also placed in the authentication properties
in order to be able to propagate them between different Authentication implementations
without having to do any mapping.ClientAuthenticationCopyright © 2014–2023 MuleSoft, Inc.. All rights reserved.