public interface OAuthService
extends org.mule.runtime.api.service.Service
| Modifier and Type | Method and Description |
|---|---|
<T> OAuthAuthorizationCodeDancerBuilder |
authorizationCodeGrantTypeDancerBuilder(org.mule.runtime.api.lock.LockFactory lockProvider,
Map<String,T> tokensStore,
org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator)
Creates a builder for an
AuthorizationCodeOAuthDancer for authorization code grant type. |
<T> OAuthClientCredentialsDancerBuilder |
clientCredentialsGrantTypeDancerBuilder(org.mule.runtime.api.lock.LockFactory lockProvider,
Map<String,T> tokensStore,
org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator)
Creates a builder for an
ClientCredentialsOAuthDancer for client credentials grant type. |
<T> OAuthClientCredentialsDancerBuilder clientCredentialsGrantTypeDancerBuilder(org.mule.runtime.api.lock.LockFactory lockProvider, Map<String,T> tokensStore, org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator)
ClientCredentialsOAuthDancer for client credentials grant type. The dancer will use the
given lockProvider and tokensStore to manage its internal state.lockProvider - a factory for Locks, uniquely identified by the name passed to
LockFactory.createLock(String).tokensStore - the repository for the tokens for the returned dancer.expressionEvaluator - the object used to evaluate expressions.<T> OAuthAuthorizationCodeDancerBuilder authorizationCodeGrantTypeDancerBuilder(org.mule.runtime.api.lock.LockFactory lockProvider, Map<String,T> tokensStore, org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator)
AuthorizationCodeOAuthDancer for authorization code grant type. The dancer will use the
given lockProvider and tokensStore to manage its internal state.lockProvider - a factory for Locks, uniquely identified by the name passed to
LockFactory.createLock(String).tokensStore - the repository for the tokens for the returned dancer.expressionEvaluator - the object used to evaluate expressions.Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.