Package org.wso2.am.admin.clients.oauth
Class OAuthAdminServiceClient
- java.lang.Object
-
- org.wso2.am.admin.clients.oauth.OAuthAdminServiceClient
-
public class OAuthAdminServiceClient extends Object
-
-
Constructor Summary
Constructors Constructor Description OAuthAdminServiceClient(String backEndUrl, String sessionCookie)create Remote claim clientOAuthAdminServiceClient(String backEndUrl, String userName, String password)Create admin client using username and password
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.wso2.carbon.identity.oauth.stub.dto.OAuthConsumerAppDTOgetOAuthAppByName(String applicationName)org.wso2.carbon.identity.oauth.stub.dto.OAuthConsumerAppDTOgetOAuthApplicationData(String consumerKey)voidregisterOAuthApplicationData(org.wso2.carbon.identity.oauth.stub.dto.OAuthConsumerAppDTO application)voidupdateScope(String scope, String[] addedClaims, String[] removedClaims)
-
-
-
Method Detail
-
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.OAuthAdminServiceIdentityOAuthAdminExceptionRemoteException
-
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.OAuthAdminServiceIdentityOAuthAdminExceptionRemoteException
-
registerOAuthApplicationData
public void registerOAuthApplicationData(org.wso2.carbon.identity.oauth.stub.dto.OAuthConsumerAppDTO application) throws RemoteException, org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceIdentityOAuthAdminException- Throws:
RemoteExceptionorg.wso2.carbon.identity.oauth.stub.OAuthAdminServiceIdentityOAuthAdminException
-
-