minMuleVersion is upgraded to 4.5.0 or newer.@Deprecated public final class OAuthContextServiceAdapter extends Object
This must be removed once the minMuleVersion of this extension is upgraded to 4.5+
| Modifier and Type | Method and Description |
|---|---|
static Lock |
createRefreshUserOAuthContextLock(String lockNamePrefix,
org.mule.runtime.api.lock.LockFactory lockProvider,
String resourceOwnerId)
Deprecated.
|
static Object |
createResourceOwnerOAuthContext(String resourceOwnerId,
String name,
org.mule.runtime.api.lock.LockFactory lockFactory)
Deprecated.
|
static <T> org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<T> |
dancerName(org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<T> dancerBuilder,
String name)
Deprecated.
|
static String |
getAccessToken(Object contextForResourceOwner)
Deprecated.
|
static String |
getExpiresIn(Object contextForResourceOwner)
Deprecated.
|
static String |
getRefreshToken(Object contextForResourceOwner)
Deprecated.
|
static Lock |
getRefreshUserOAuthContextLock(Object resourceOwnerOAuthContext,
String name,
org.mule.runtime.api.lock.LockFactory lockFactory)
Deprecated.
|
static String |
getResourceOwnerId(Object resourceOwnerOAuthContext)
Deprecated.
|
static String |
getState(Object contextForResourceOwner)
Deprecated.
|
static Map<String,Object> |
getTokenResponseParameters(Object contextForResourceOwner)
Deprecated.
|
static Object |
migrateContextIfNeeded(Object resourceOwnerOAuthContext,
String name,
org.mule.runtime.api.lock.LockFactory lockFactory)
Deprecated.
|
public static Object createResourceOwnerOAuthContext(String resourceOwnerId, String name, org.mule.runtime.api.lock.LockFactory lockFactory)
public static Object migrateContextIfNeeded(Object resourceOwnerOAuthContext, String name, org.mule.runtime.api.lock.LockFactory lockFactory)
public static Lock getRefreshUserOAuthContextLock(Object resourceOwnerOAuthContext, String name, org.mule.runtime.api.lock.LockFactory lockFactory)
public static Lock createRefreshUserOAuthContextLock(String lockNamePrefix, org.mule.runtime.api.lock.LockFactory lockProvider, String resourceOwnerId)
public static <T> org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<T> dancerName(org.mule.runtime.oauth.api.builder.OAuthDancerBuilder<T> dancerBuilder,
String name)
public static String getResourceOwnerId(Object resourceOwnerOAuthContext)
public static Map<String,Object> getTokenResponseParameters(Object contextForResourceOwner)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.