C - the connection's generic typepublic interface OAuthConnectionProviderWrapper<C> extends ConnectionProviderWrapper<C>
ConnectionProviderWrapper that is OAuth enabled| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType |
getGrantType() |
String |
getResourceOwnerId() |
void |
invalidate(String resourceOwnerId)
Invalidates the context of the given
resourceOwnerId |
void |
refreshToken(String resourceOwnerId)
Executes a refresh token for the given
resourceOwnerId |
getConnectionManagementType, getRetryPolicyTemplateconnect, disconnect, validategetReconnectionConfiggetDelegateString getResourceOwnerId()
org.mule.runtime.extension.api.connectivity.oauth.OAuthGrantType getGrantType()
OAuthGrantTypevoid refreshToken(String resourceOwnerId)
resourceOwnerIdresourceOwnerId - a resource owner Idvoid invalidate(String resourceOwnerId)
resourceOwnerIdresourceOwnerId - Copyright © 2003–2020 MuleSoft, Inc.. All rights reserved.