Class AppPortalOAuthAppMgtListener

java.lang.Object
org.wso2.identity.apps.common.listner.AppPortalOAuthAppMgtListener
All Implemented Interfaces:
org.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener

public class AppPortalOAuthAppMgtListener extends Object implements org.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
App portal OAuth application management listener.
  • Constructor Details

    • AppPortalOAuthAppMgtListener

      public AppPortalOAuthAppMgtListener(boolean enabled)
      Constructor for app portal OAuth application management listener with enabled flag.
      Parameters:
      enabled - Enabled flag.
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Specified by:
      isEnabled in interface org.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
    • getExecutionOrder

      public int getExecutionOrder()
      Specified by:
      getExecutionOrder in interface org.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
    • doPreUpdateConsumerApplication

      public void doPreUpdateConsumerApplication(org.wso2.carbon.identity.oauth.dto.OAuthConsumerAppDTO oAuthConsumerAppDTO) throws org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
      Specified by:
      doPreUpdateConsumerApplication in interface org.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
      Throws:
      org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
    • doPreUpdateConsumerApplicationState

      public void doPreUpdateConsumerApplicationState(String consumerKey, String newState) throws org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
      Specified by:
      doPreUpdateConsumerApplicationState in interface org.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
      Throws:
      org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
    • doPreRemoveOAuthApplicationData

      public void doPreRemoveOAuthApplicationData(String consumerKey) throws org.wso2.carbon.identity.oauth.IdentityOAuthAdminException
      Specified by:
      doPreRemoveOAuthApplicationData in interface org.wso2.carbon.identity.oauth.listener.OAuthApplicationMgtListener
      Throws:
      org.wso2.carbon.identity.oauth.IdentityOAuthAdminException