Class TestOAuthDancerBuilder
java.lang.Object
org.mule.runtime.oauth.internal.builder.AbstractOAuthDancerBuilder<TestOAuthDancer>
org.mule.test.oauth.client.deprecated.TestOAuthDancerBuilder
- All Implemented Interfaces:
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<TestOAuthDancer>
public class TestOAuthDancerBuilder
extends org.mule.runtime.oauth.internal.builder.AbstractOAuthDancerBuilder<TestOAuthDancer>
This OAuth Dancer Builder extends from an internal class:
AbstractOAuthDancerBuilder.
This class is included as a compile-scoped dependency, otherwise we would not be able to use it in runtime, because the Container will not export it (being internal).
Since we will be using a legacy AbstractOAuthDancerBuilder, it will also try to use legacy versions of API classes, for
example ClientCredentialsLocation. It needs to be able to find those also from the Extension's ClassLoader, because
they are no longer present in the Container after the split-package fix of W-13167592.
-
Field Summary
Fields inherited from class org.mule.runtime.oauth.internal.builder.AbstractOAuthDancerBuilder
clientCredentialsLocation, clientId, clientSecret, customParametersExtractorsExprs, encoding, expressionEvaluator, httpClientFactory, lockProvider, name, resourceOwnerIdTransformer, responseAccessTokenExpr, responseExpiresInExpr, responseRefreshTokenExpr, schedulerService, scopes, tokensStore, tokenUrl -
Constructor Summary
ConstructorsConstructorDescriptionTestOAuthDancerBuilder(org.mule.runtime.api.scheduler.SchedulerService schedulerService, org.mule.runtime.api.lock.LockFactory lockProvider, Map<String, org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContext> tokensStore, org.mule.runtime.oauth.api.http.HttpClientFactory baseHttpClientFactory, org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator) -
Method Summary
Methods inherited from class org.mule.runtime.oauth.internal.builder.AbstractOAuthDancerBuilder
clientCredentials, customParametersExtractorsExprs, encodeClientCredentialsInBody, encoding, name, resourceOwnerIdTransformer, responseAccessTokenExpr, responseExpiresInExpr, responseRefreshTokenExpr, scopes, tokenUrl, tokenUrl, tokenUrl, tokenUrl, tokenUrl, withClientCredentialsIn
-
Constructor Details
-
TestOAuthDancerBuilder
public TestOAuthDancerBuilder(org.mule.runtime.api.scheduler.SchedulerService schedulerService, org.mule.runtime.api.lock.LockFactory lockProvider, Map<String, org.mule.runtime.oauth.api.state.ResourceOwnerOAuthContext> tokensStore, org.mule.runtime.oauth.api.http.HttpClientFactory baseHttpClientFactory, org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator)
-
-
Method Details
-
build
-