Class OAuthAdminServiceClient

java.lang.Object
org.wso2.am.admin.clients.oauth.OAuthAdminServiceClient

public class OAuthAdminServiceClient extends Object
  • Constructor Details

    • OAuthAdminServiceClient

      public OAuthAdminServiceClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault
      create Remote claim client
      Parameters:
      backEndUrl - - url to log
      sessionCookie - - session cookie
      Throws:
      org.apache.axis2.AxisFault
    • OAuthAdminServiceClient

      public OAuthAdminServiceClient(String backEndUrl, String userName, String password) throws org.apache.axis2.AxisFault
      Create admin client using username and password
      Parameters:
      backEndUrl -
      userName -
      password -
      Throws:
      org.apache.axis2.AxisFault
  • Method Details

    • updateScope

      public void updateScope(String scope, String[] addedClaims, String[] removedClaims) throws org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceIdentityOAuthAdminException, RemoteException
      Throws:
      org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceIdentityOAuthAdminException
      RemoteException
    • getOAuthApplicationData

      public org.wso2.carbon.identity.oauth.stub.dto.OAuthConsumerAppDTO getOAuthApplicationData(String consumerKey) throws org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceIdentityOAuthAdminException, RemoteException
      Throws:
      org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceIdentityOAuthAdminException
      RemoteException
    • registerOAuthApplicationData

      public void registerOAuthApplicationData(org.wso2.carbon.identity.oauth.stub.dto.OAuthConsumerAppDTO application) throws RemoteException, org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceIdentityOAuthAdminException
      Throws:
      RemoteException
      org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceIdentityOAuthAdminException
    • getOAuthAppByName

      public org.wso2.carbon.identity.oauth.stub.dto.OAuthConsumerAppDTO getOAuthAppByName(String applicationName) throws Exception
      Throws:
      Exception