@AuthorizationCode(accessTokenUrl="accessTokenUrl",
authorizationUrl="authUrl")
@Alias(value="refresh-validation")
public class TestOAuthRefreshValidationProvider
extends TestOAuthConnectionState
implements org.mule.runtime.api.connection.CachedConnectionProvider<TestOAuthConnection>
| Modifier and Type | Field and Description |
|---|---|
static String |
ACCESS_TOKEN_URL |
static String |
AUTH_URL |
static String |
DEFAULT_SCOPE |
static int |
TIMES_REFRESH_IS_NEEDED |
| Constructor and Description |
|---|
TestOAuthRefreshValidationProvider() |
| Modifier and Type | Method and Description |
|---|---|
TestOAuthConnection |
connect() |
void |
disconnect(TestOAuthConnection connection) |
org.mule.runtime.api.connection.ConnectionValidationResult |
validate(TestOAuthConnection connection) |
getApiVersion, getConfigName, getDisplay, getInstanceId, getState, getUserId, isImmediate, isPromptpublic static int TIMES_REFRESH_IS_NEEDED
public static final String ACCESS_TOKEN_URL
public static final String AUTH_URL
public static final String DEFAULT_SCOPE
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 © 2023 MuleSoft, Inc.. All rights reserved.