C - public abstract class BaseBearerAuthenticationConnectionProvider<C extends BearerRestConnection> extends RestConnectionProvider<C>
RestConnections that authenticate using Bearer mechanism.httpService| Constructor and Description |
|---|
BaseBearerAuthenticationConnectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected C |
createConnection(org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.http.api.client.HttpRequestOptions httpRequestOptions)
Creates a new connection
C |
protected abstract String |
getToken()
Returns the token used to authenticate the requests that will be used to build the corresponding authentication.
|
buildAuthentication, configureClient, connect, disconnect, getBaseUri, getResponseTimeout, initialise, isFollowsRedirect, start, stoppublic BaseBearerAuthenticationConnectionProvider()
protected C createConnection(org.mule.runtime.http.api.client.HttpClient httpClient, org.mule.runtime.http.api.client.HttpRequestOptions httpRequestOptions)
RestConnectionProviderCcreateConnection in class RestConnectionProvider<C extends BearerRestConnection>httpClient - the client to perform the requests.httpRequestOptions - the options for the http request client to perfom the requests.Cprotected abstract String getToken()
Copyright © 2022. All rights reserved.