Package com.sodius.oslc.client.oauth
Class OAuthStoreManager
java.lang.Object
com.sodius.oslc.client.oauth.OAuthStoreManager
The central place for OAuth capabilities provided on client side.
- Since:
- 1.9.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(OAuthStoreListener oAuthStoreListener) Adds the given listener to this manager.static OAuthStoreManagerReturns the singleton instance configured.voidremoveListener(OAuthStoreListener oAuthStoreListener) Removes the given listener from this manager.
-
Method Details
-
getInstance
Returns the singleton instance configured.- Returns:
- the singleton OAuth Store Manager.
-
addListener
Adds the given listener to this manager. Listeners are notified whenever an OAuth Store is updated.- Parameters:
oAuthStoreListener- the listener to be added
-
removeListener
Removes the given listener from this manager.- Parameters:
oAuthStoreListener- the listener to be removed
-