Package com.sodius.oslc.client.oauth
Class OAuthStoreManager
- java.lang.Object
-
- com.sodius.oslc.client.oauth.OAuthStoreManager
-
public class OAuthStoreManager extends Object
The central place for OAuth capabilities provided on client side.- Since:
- 1.9.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addListener(OAuthStoreListener oAuthStoreListener)
Adds the given listener to this manager.static OAuthStoreManager
getInstance()
Returns the singleton instance configured.void
removeListener(OAuthStoreListener oAuthStoreListener)
Removes the given listener from this manager.
-
-
-
Method Detail
-
getInstance
public static OAuthStoreManager getInstance()
Returns the singleton instance configured.- Returns:
- the singleton OAuth Store Manager.
-
addListener
public void addListener(OAuthStoreListener oAuthStoreListener)
Adds the given listener to this manager. Listeners are notified whenever an OAuth Store is updated.- Parameters:
oAuthStoreListener
- the listener to be added
-
removeListener
public void removeListener(OAuthStoreListener oAuthStoreListener)
Removes the given listener from this manager.- Parameters:
oAuthStoreListener
- the listener to be removed
-
-