public abstract class AbstractOAuthDancerBuilder<D> extends Object implements org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>
| Modifier and Type | Field and Description |
|---|---|
protected String |
clientId |
protected String |
clientSecret |
protected Map<String,String> |
customParametersExtractorsExprs |
protected boolean |
encodeClientCredentialsInBody |
protected Charset |
encoding |
protected org.mule.runtime.api.el.MuleExpressionLanguage |
expressionEvaluator |
protected Supplier<org.mule.runtime.http.api.client.HttpClient> |
httpClientFactory |
protected org.mule.runtime.http.api.HttpService |
httpService |
protected org.mule.runtime.api.lock.LockFactory |
lockProvider |
protected Function<String,String> |
resourceOwnerIdTransformer |
protected String |
responseAccessTokenExpr |
protected String |
responseExpiresInExpr |
protected String |
responseRefreshTokenExpr |
protected String |
scopes |
protected Map<String,org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> |
tokensStore |
protected String |
tokenUrl |
| Constructor and Description |
|---|
AbstractOAuthDancerBuilder(org.mule.runtime.api.lock.LockFactory lockProvider,
Map<String,org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> tokensStore,
org.mule.runtime.http.api.HttpService httpService,
org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
clientCredentials(String clientId,
String clientSecret) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
customParametersExtractorsExprs(Map<String,String> customParamsExtractorsExprs) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
encodeClientCredentialsInBody(boolean encodeClientCredentialsInBody) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
encoding(Charset encoding) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D> |
resourceOwnerIdTransformer(Function<String,String> resourceOwnerIdTransformer) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
responseAccessTokenExpr(String responseAccessTokenExpr) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
responseExpiresInExpr(String responseExpiresInExpr) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
responseRefreshTokenExpr(String responseRefreshTokenExpr) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
scopes(String scopes) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
tokenUrl(org.mule.runtime.http.api.client.HttpClient httpClient,
String tokenUrl) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
tokenUrl(String tokenUrl) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D> |
tokenUrl(String tokenUrl,
org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder |
tokenUrl(String tokenUrl,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory) |
org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D> |
tokenUrl(String tokenUrl,
org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory,
org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig) |
protected final org.mule.runtime.api.lock.LockFactory lockProvider
protected final Map<String,org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> tokensStore
protected final org.mule.runtime.http.api.HttpService httpService
protected final org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator
protected String clientId
protected String clientSecret
protected boolean encodeClientCredentialsInBody
protected String tokenUrl
protected Supplier<org.mule.runtime.http.api.client.HttpClient> httpClientFactory
protected Charset encoding
protected String responseAccessTokenExpr
protected String responseRefreshTokenExpr
protected String responseExpiresInExpr
protected String scopes
public AbstractOAuthDancerBuilder(org.mule.runtime.api.lock.LockFactory lockProvider,
Map<String,org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> tokensStore,
org.mule.runtime.http.api.HttpService httpService,
org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator)
public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder clientCredentials(String clientId, String clientSecret)
clientCredentials in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder encodeClientCredentialsInBody(boolean encodeClientCredentialsInBody)
public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder tokenUrl(String tokenUrl)
tokenUrl in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder tokenUrl(org.mule.runtime.http.api.client.HttpClient httpClient,
String tokenUrl)
tokenUrl in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D> tokenUrl(String tokenUrl, org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig)
tokenUrl in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder tokenUrl(String tokenUrl, org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory)
tokenUrl in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D> tokenUrl(String tokenUrl, org.mule.runtime.api.tls.TlsContextFactory tlsContextFactory, org.mule.runtime.http.api.client.proxy.ProxyConfig proxyConfig)
tokenUrl in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder scopes(String scopes)
scopes in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder encoding(Charset encoding)
encoding in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder responseAccessTokenExpr(String responseAccessTokenExpr)
responseAccessTokenExpr in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder responseRefreshTokenExpr(String responseRefreshTokenExpr)
responseRefreshTokenExpr in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder responseExpiresInExpr(String responseExpiresInExpr)
responseExpiresInExpr in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>public org.mule.runtime.oauth.api.builder.OAuthDancerBuilder customParametersExtractorsExprs(Map<String,String> customParamsExtractorsExprs)
customParametersExtractorsExprs in interface org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<D>Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.