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