| Modifier and Type | Class and Description |
|---|---|
class |
BaseOAuthConnectionProviderWrapper<C>
Base class for an OAuth enabled
ConnectionProviderWrapper. |
| Modifier and Type | Method and Description |
|---|---|
static OAuthConnectionProviderWrapper |
ExtensionsOAuthUtils.getOAuthConnectionProvider(org.mule.runtime.api.connection.ConnectionProvider provider)
Unwraps a given connection provider if necessary to get a
OAuthConnectionProviderWrapper. |
static OAuthConnectionProviderWrapper |
ExtensionsOAuthUtils.getOAuthConnectionProvider(ExecutionContextAdapter operationContext) |
| Modifier and Type | Method and Description |
|---|---|
static <C> org.mule.runtime.api.connection.ConnectionValidationResult |
ExtensionsOAuthUtils.validateOAuthConnection(OAuthConnectionProviderWrapper<C> oAuthConnectionProviderWrapper,
C connection,
ResourceOwnerOAuthContext context)
Invokes
ConnectionProvider.validate(Object) on the connectionProvider only if the given context
returns a non null value for the ResourceOwnerOAuthContext.getAccessToken() method. |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthorizationCodeConnectionProviderWrapper<C>
A
ReconnectableConnectionProviderWrapper which makes sure that by the time the ConnectionProvider.connect()
method is invoked on the delegate, the authorization dance has been completed and the AuthorizationCodeState and
OAuthCallbackValue fields have been properly injected |
| Modifier and Type | Class and Description |
|---|---|
class |
ClientCredentialsConnectionProviderWrapper<C>
A
ReconnectableConnectionProviderWrapper which makes sure that by the time the ConnectionProvider.connect()
method is invoked on the delegate, the authorization dance has been completed and the ClientCredentialsState and
OAuthCallbackValue fields have been properly injected |
| Modifier and Type | Class and Description |
|---|---|
class |
PlatformManagedOAuthConnectionProvider<C>
An
OAuthConnectionProviderWrapper for OAuth connections managed on the Anypoint Platform |
Copyright © 2003–2024 MuleSoft, Inc.. All rights reserved.