public abstract class BearerAuthenticationConnectionProvider extends BaseConnectionProvider
| Modifier and Type | Field and Description |
|---|---|
protected String |
token
The token to authenticate the requests
|
| Constructor and Description |
|---|
BearerAuthenticationConnectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected RestConnection |
createConnection(org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.http.api.client.auth.HttpAuthentication authentication,
org.mule.runtime.api.util.MultiMap<String,String> defaultQueryParams,
org.mule.runtime.api.util.MultiMap<String,String> defaultHeaders)
Creates a new
RestConnection |
buildAuthentication, configureClient, connect, disconnect, getBaseUri, getConfigName, getConnectionIdleTimeout, getConnectionIdleTimeoutUnit, getConnectionTimeout, getConnectionTimeoutUnit, getDefaultHeaders, getDefaultQueryParams, getExpressionLanguage, getMaxConnections, getProxyConfig, getResponseBufferSize, getTlsConfig, initialise, isStreamResponse, isUsePersistentConnections, start, stop, validate, validate@Parameter @Optional @Summary(value="The token to authenticate the requests") protected String token
public BearerAuthenticationConnectionProvider()
protected RestConnection createConnection(org.mule.runtime.http.api.client.HttpClient httpClient, org.mule.runtime.http.api.client.auth.HttpAuthentication authentication, org.mule.runtime.api.util.MultiMap<String,String> defaultQueryParams, org.mule.runtime.api.util.MultiMap<String,String> defaultHeaders)
BaseConnectionProviderRestConnectioncreateConnection in class BaseConnectionProviderhttpClient - the client to perform the requestsauthentication - a nullable authentication mechanismRestConnectionCopyright © 2024. All rights reserved.