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