public class ConfigOAuthContext extends Object
| Constructor and Description |
|---|
ConfigOAuthContext(org.mule.runtime.api.lock.LockFactory lockFactory,
org.mule.runtime.api.store.ObjectStore<org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> objectStore,
String configName) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearContextForResourceOwner(String resourceOwnerId) |
org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext |
getContextForResourceOwner(String resourceOwnerId)
Retrieves the oauth context for a particular user.
|
void |
updateResourceOwnerOAuthContext(org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext resourceOwnerOAuthContext)
Updates the resource owner oauth context information
|
public ConfigOAuthContext(org.mule.runtime.api.lock.LockFactory lockFactory,
org.mule.runtime.api.store.ObjectStore<org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext> objectStore,
String configName)
public org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext getContextForResourceOwner(String resourceOwnerId)
resourceOwnerId - id of the user.public void updateResourceOwnerOAuthContext(org.mule.runtime.oauth.api.state.DefaultResourceOwnerOAuthContext resourceOwnerOAuthContext)
resourceOwnerOAuthContext - public void clearContextForResourceOwner(String resourceOwnerId)
Copyright © 2019 MuleSoft, Inc.. All rights reserved.