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 Details

    • 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