@NoImplement
public interface OAuthService
extends org.mule.runtime.api.service.Service
| Modifier and Type | Method and Description |
|---|---|
<T> org.mule.runtime.oauth.api.builder.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> org.mule.runtime.oauth.api.builder.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. |
default <T> OAuthPlatformManagedDancerBuilder |
platformManagedOAuthDancerBuilder(org.mule.runtime.api.lock.LockFactory lockFactory,
Map<String,T> tokensStore,
org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator)
Creates a builder for a
PlatformManagedOAuthDancer that obtains access tokens that are provisioned and managed by the
Anypoint Platform. |
<T> org.mule.runtime.oauth.api.builder.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> org.mule.runtime.oauth.api.builder.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.@Experimental default <T> OAuthPlatformManagedDancerBuilder platformManagedOAuthDancerBuilder(org.mule.runtime.api.lock.LockFactory lockFactory, Map<String,T> tokensStore, org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator)
PlatformManagedOAuthDancer that obtains access tokens that are provisioned and managed by the
Anypoint Platform.
Platform Managed OAuth is an experimental feature. It will only be enabled on selected environments and scenarios. Backwards compatibility is not guaranteed.
lockFactory - 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–2024 MuleSoft, Inc.. All rights reserved.