@AuthorizationCode(accessTokenUrl="accessTokenUrl",
authorizationUrl="authUrl")
@Alias(value="pooled")
public class TestOAuthPooledProvider
extends TestOAuthConnectionState
implements org.mule.runtime.api.connection.PoolingConnectionProvider<TestOAuthConnection>
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCESS_TOKEN_URL |
static String |
AUTH_URL |
static String |
BORROWED |
static Queue<String> |
CALLBACK_ACTIONS |
static String |
DEFAULT_SCOPE |
static String |
RETURNED |
| Constructor and Description |
|---|
TestOAuthPooledProvider() |
| Modifier and Type | Method and Description |
|---|---|
TestOAuthConnection |
connect() |
void |
disconnect(TestOAuthConnection connection) |
void |
onBorrow(TestOAuthConnection connection) |
void |
onReturn(TestOAuthConnection connection) |
org.mule.runtime.api.connection.ConnectionValidationResult |
validate(TestOAuthConnection connection) |
getApiVersion, getConfigName, getDisplay, getInstanceId, getState, getUserId, isImmediate, isPromptpublic static String BORROWED
public static String RETURNED
public static final String ACCESS_TOKEN_URL
public static final String AUTH_URL
public static final String DEFAULT_SCOPE
public void onBorrow(TestOAuthConnection connection)
onBorrow in interface org.mule.runtime.api.connection.PoolingListener<TestOAuthConnection>public void onReturn(TestOAuthConnection connection)
onReturn in interface org.mule.runtime.api.connection.PoolingListener<TestOAuthConnection>public TestOAuthConnection connect() throws org.mule.runtime.api.connection.ConnectionException
connect in interface org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>org.mule.runtime.api.connection.ConnectionExceptionpublic void disconnect(TestOAuthConnection connection)
disconnect in interface org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>public org.mule.runtime.api.connection.ConnectionValidationResult validate(TestOAuthConnection connection)
validate in interface org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>Copyright © 2025 MuleSoft, Inc.. All rights reserved.