Package org.mule.test.oauth
Class TestOAuthClientCredentialsProvider
java.lang.Object
org.mule.test.oauth.TestOAuthConnectionState
org.mule.test.oauth.TestOAuthClientCredentialsProvider
- All Implemented Interfaces:
org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>
@ClientCredentials(tokenUrl="accessTokenUrl",
defaultScopes="defaultScope",
credentialsPlacement=QUERY_PARAMS)
@Alias("client-credentials")
public class TestOAuthClientCredentialsProvider
extends TestOAuthConnectionState
implements org.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnect()voiddisconnect(TestOAuthConnection connection) org.mule.runtime.extension.api.connectivity.oauth.OAuthStategetState()org.mule.runtime.api.connection.ConnectionValidationResultvalidate(TestOAuthConnection connection) Methods inherited from class org.mule.test.oauth.TestOAuthConnectionState
getApiVersion, getConfigName, getDisplay, getInstanceId, getUserId, isImmediate, isPrompt
-
Constructor Details
-
TestOAuthClientCredentialsProvider
public TestOAuthClientCredentialsProvider()
-
-
Method Details
-
connect
- Specified by:
connectin interfaceorg.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>- Throws:
org.mule.runtime.api.connection.ConnectionException
-
disconnect
- Specified by:
disconnectin interfaceorg.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>
-
getState
public org.mule.runtime.extension.api.connectivity.oauth.OAuthState getState()- Overrides:
getStatein classTestOAuthConnectionState
-
validate
public org.mule.runtime.api.connection.ConnectionValidationResult validate(TestOAuthConnection connection) - Specified by:
validatein interfaceorg.mule.runtime.api.connection.ConnectionProvider<TestOAuthConnection>
-