@Alias(value="token-manager-config") @XmlHints(allowTopLevelDefinition=true) public class TokenManagerConfig extends Object implements org.mule.runtime.api.lifecycle.Initialisable, MuleContextAware
| Modifier and Type | Field and Description |
|---|---|
static AtomicInteger |
defaultTokenManagerConfigIndex |
| Constructor and Description |
|---|
TokenManagerConfig() |
| Modifier and Type | Method and Description |
|---|---|
static TokenManagerConfig |
createDefault(MuleContext context) |
ConfigOAuthContext |
getConfigOAuthContext() |
ListableObjectStore<ResourceOwnerOAuthContext> |
getObjectStore() |
void |
initialise() |
ResourceOwnerOAuthContext |
processOauthContextFunctionACall(Object... params)
Provides support for the oauthContext MEL function for this configuration
|
void |
setMuleContext(MuleContext muleContext) |
void |
setName(String name) |
void |
setObjectStore(ListableObjectStore<ResourceOwnerOAuthContext> objectStore) |
public static AtomicInteger defaultTokenManagerConfigIndex
public ListableObjectStore<ResourceOwnerOAuthContext> getObjectStore()
public void setObjectStore(ListableObjectStore<ResourceOwnerOAuthContext> objectStore)
public void setName(String name)
public void initialise()
throws org.mule.runtime.api.lifecycle.InitialisationException
initialise in interface org.mule.runtime.api.lifecycle.Initialisableorg.mule.runtime.api.lifecycle.InitialisationExceptionpublic static TokenManagerConfig createDefault(MuleContext context) throws org.mule.runtime.api.lifecycle.InitialisationException
org.mule.runtime.api.lifecycle.InitialisationExceptionpublic ConfigOAuthContext getConfigOAuthContext()
public ResourceOwnerOAuthContext processOauthContextFunctionACall(Object... params)
params - function parameters without the config name parameterpublic void setMuleContext(MuleContext muleContext)
setMuleContext in interface MuleContextAwareCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.