public abstract class OAuthConnectionProviderWrapper<C> extends ReconnectableConnectionProviderWrapper<C>
| Modifier and Type | Field and Description |
|---|---|
protected Map<Field,String> |
callbackValues |
muleContext| Constructor and Description |
|---|
OAuthConnectionProviderWrapper(org.mule.runtime.api.connection.ConnectionProvider<C> delegate,
ReconnectionConfig reconnectionConfig,
Map<Field,String> callbackValues) |
| Modifier and Type | Method and Description |
|---|---|
abstract org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType |
getGrantType() |
protected <T> FieldSetter<org.mule.runtime.api.connection.ConnectionProvider<C>,T> |
getOAuthStateSetter(org.mule.runtime.api.connection.ConnectionProvider<C> delegate,
Class<T> stateType,
String grantTypeName) |
abstract void |
invalidate(String resourceOwnerId) |
abstract void |
refreshToken(String resourceOwnerId) |
protected void |
updateOAuthParameters(org.mule.runtime.api.connection.ConnectionProvider<C> delegate,
ResourceOwnerOAuthContext context) |
getReconnectionConfig, validateconnect, disconnect, dispose, getDelegate, getPoolingProfile, getRetryPolicyTemplate, initialise, start, stoppublic OAuthConnectionProviderWrapper(org.mule.runtime.api.connection.ConnectionProvider<C> delegate, ReconnectionConfig reconnectionConfig, Map<Field,String> callbackValues)
public abstract org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType getGrantType()
public abstract void refreshToken(String resourceOwnerId)
public abstract void invalidate(String resourceOwnerId)
protected <T> FieldSetter<org.mule.runtime.api.connection.ConnectionProvider<C>,T> getOAuthStateSetter(org.mule.runtime.api.connection.ConnectionProvider<C> delegate, Class<T> stateType, String grantTypeName)
protected void updateOAuthParameters(org.mule.runtime.api.connection.ConnectionProvider<C> delegate, ResourceOwnerOAuthContext context)
Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.