public class OAuthUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_REFRESH_ATTEMPTS |
| Constructor and Description |
|---|
OAuthUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.mule.runtime.oauth.internal.config.DefaultClientCredentialsOAuthDancerConfig |
createClientCredentialsConfig(String clientId,
String clientSecret,
String anypointPlatformUrl) |
static <T extends org.mule.runtime.oauth.api.ClientCredentialsOAuthDancer,AuthorizationCodeOAuthDancer,S extends org.mule.runtime.oauth.internal.config.DefaultClientCredentialsOAuthDancerConfig,DefaultAuthorizationCodeOAuthDancerConfig> |
createDancer(S config,
org.mule.runtime.http.api.HttpService httpService) |
static org.mule.runtime.oauth.internal.config.OAuthDancerConfig |
setOAuthContext(org.mule.runtime.oauth.internal.config.OAuthDancerConfig config,
org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.api.scheduler.SchedulerService schedulerService,
org.mule.runtime.api.lock.LockFactory lockProvider,
org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator) |
public static final int MAX_REFRESH_ATTEMPTS
public static org.mule.runtime.oauth.internal.config.DefaultClientCredentialsOAuthDancerConfig createClientCredentialsConfig(String clientId, String clientSecret, String anypointPlatformUrl)
public static org.mule.runtime.oauth.internal.config.OAuthDancerConfig setOAuthContext(org.mule.runtime.oauth.internal.config.OAuthDancerConfig config,
org.mule.runtime.http.api.client.HttpClient httpClient,
org.mule.runtime.api.scheduler.SchedulerService schedulerService,
org.mule.runtime.api.lock.LockFactory lockProvider,
org.mule.runtime.api.el.MuleExpressionLanguage expressionEvaluator)
public static <T extends org.mule.runtime.oauth.api.ClientCredentialsOAuthDancer,AuthorizationCodeOAuthDancer,S extends org.mule.runtime.oauth.internal.config.DefaultClientCredentialsOAuthDancerConfig,DefaultAuthorizationCodeOAuthDancerConfig> T createDancer(S config,
org.mule.runtime.http.api.HttpService httpService)
Copyright © 2023 MuleSoft, Inc.. All rights reserved.