Class OAuthAdminServiceStub
- java.lang.Object
-
- org.apache.axis2.client.Stub
-
- org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceStub
-
- All Implemented Interfaces:
OAuthAdminService
public class OAuthAdminServiceStub extends org.apache.axis2.client.Stub implements OAuthAdminService
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.axis2.description.AxisOperation[]
_operations
-
Constructor Summary
Constructors Constructor Description OAuthAdminServiceStub()
Default ConstructorOAuthAdminServiceStub(String targetEndpoint)
Constructor taking the target endpointOAuthAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext)
Default ConstructorOAuthAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint)
Constructor that takes in a configContextOAuthAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener)
Constructor that takes in a configContext and useseperate listner
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthConsumerAppDTO[]
getAllOAuthApplicationData()
Auto generated method signatureString[]
getAllowedGrantTypes()
Auto generated method signatureOAuthConsumerAppDTO[]
getAppsAuthorizedByUser()
Auto generated method signatureOAuthConsumerAppDTO
getOAuthApplicationData(String consumerKey37)
Auto generated method signaturevoid
registerOAuthApplicationData(OAuthConsumerAppDTO application33)
Auto generated method signatureString[]
registerOAuthConsumer()
Auto generated method signaturevoid
removeOAuthApplicationData(String consumerKey35)
Auto generated method signatureOAuthRevocationResponseDTO
revokeAuthzForAppsByResoureOwner(OAuthRevocationRequestDTO revokeRequestDTO41)
Auto generated method signaturevoid
startgetAllOAuthApplicationData(OAuthAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetAllowedGrantTypes(OAuthAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetAppsAuthorizedByUser(OAuthAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetOAuthApplicationData(String consumerKey37, OAuthAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startregisterOAuthConsumer(OAuthAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startrevokeAuthzForAppsByResoureOwner(OAuthRevocationRequestDTO revokeRequestDTO41, OAuthAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
updateConsumerApplication(OAuthConsumerAppDTO consumerAppDTO57)
Auto generated method signature-
Methods inherited from class org.apache.axis2.client.Stub
_getServiceClient, _setServiceClient, addAnonymousOperations, addHeader, addHeader, addHttpHeader, addPropertyToOperationClient, addPropertyToOperationClient, addPropertyToOperationClient, cleanup, createEnvelope, finalize, getFactory, setMustUnderstand, setServiceClientEPR
-
-
-
-
Constructor Detail
-
OAuthAdminServiceStub
public OAuthAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) throws org.apache.axis2.AxisFault
Constructor that takes in a configContext- Throws:
org.apache.axis2.AxisFault
-
OAuthAdminServiceStub
public OAuthAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener) throws org.apache.axis2.AxisFault
Constructor that takes in a configContext and useseperate listner- Throws:
org.apache.axis2.AxisFault
-
OAuthAdminServiceStub
public OAuthAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault
Default Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuthAdminServiceStub
public OAuthAdminServiceStub() throws org.apache.axis2.AxisFault
Default Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuthAdminServiceStub
public OAuthAdminServiceStub(String targetEndpoint) throws org.apache.axis2.AxisFault
Constructor taking the target endpoint- Throws:
org.apache.axis2.AxisFault
-
-
Method Detail
-
registerOAuthApplicationData
public void registerOAuthApplicationData(OAuthConsumerAppDTO application33) throws RemoteException, OAuthAdminServiceException
Auto generated method signature- Specified by:
registerOAuthApplicationData
in interfaceOAuthAdminService
- Throws:
OAuthAdminServiceException
- :RemoteException
-
removeOAuthApplicationData
public void removeOAuthApplicationData(String consumerKey35) throws RemoteException, OAuthAdminServiceException
Auto generated method signature- Specified by:
removeOAuthApplicationData
in interfaceOAuthAdminService
- Throws:
OAuthAdminServiceException
- :RemoteException
-
getOAuthApplicationData
public OAuthConsumerAppDTO getOAuthApplicationData(String consumerKey37) throws RemoteException, OAuthAdminServiceException
Auto generated method signature- Specified by:
getOAuthApplicationData
in interfaceOAuthAdminService
- Parameters:
getOAuthApplicationData36
-- Throws:
OAuthAdminServiceException
- :RemoteException
- See Also:
OAuthAdminService.getOAuthApplicationData(java.lang.String)
-
startgetOAuthApplicationData
public void startgetOAuthApplicationData(String consumerKey37, OAuthAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetOAuthApplicationData
in interfaceOAuthAdminService
- Parameters:
getOAuthApplicationData36
-- Throws:
RemoteException
- See Also:
OAuthAdminService.startgetOAuthApplicationData(java.lang.String, org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceCallbackHandler)
-
revokeAuthzForAppsByResoureOwner
public OAuthRevocationResponseDTO revokeAuthzForAppsByResoureOwner(OAuthRevocationRequestDTO revokeRequestDTO41) throws RemoteException, OAuthAdminServiceIdentityOAuthAdminException
Auto generated method signature- Specified by:
revokeAuthzForAppsByResoureOwner
in interfaceOAuthAdminService
- Parameters:
revokeAuthzForAppsByResoureOwner40
-- Throws:
OAuthAdminServiceIdentityOAuthAdminException
- :RemoteException
- See Also:
OAuthAdminService.revokeAuthzForAppsByResoureOwner(org.wso2.carbon.identity.oauth.stub.dto.OAuthRevocationRequestDTO)
-
startrevokeAuthzForAppsByResoureOwner
public void startrevokeAuthzForAppsByResoureOwner(OAuthRevocationRequestDTO revokeRequestDTO41, OAuthAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startrevokeAuthzForAppsByResoureOwner
in interfaceOAuthAdminService
- Parameters:
revokeAuthzForAppsByResoureOwner40
-- Throws:
RemoteException
- See Also:
OAuthAdminService.startrevokeAuthzForAppsByResoureOwner(org.wso2.carbon.identity.oauth.stub.dto.OAuthRevocationRequestDTO, org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceCallbackHandler)
-
getAllOAuthApplicationData
public OAuthConsumerAppDTO[] getAllOAuthApplicationData() throws RemoteException, OAuthAdminServiceException
Auto generated method signature- Specified by:
getAllOAuthApplicationData
in interfaceOAuthAdminService
- Parameters:
getAllOAuthApplicationData44
-- Throws:
OAuthAdminServiceException
- :RemoteException
- See Also:
OAuthAdminService.getAllOAuthApplicationData()
-
startgetAllOAuthApplicationData
public void startgetAllOAuthApplicationData(OAuthAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetAllOAuthApplicationData
in interfaceOAuthAdminService
- Parameters:
getAllOAuthApplicationData44
-- Throws:
RemoteException
- See Also:
OAuthAdminService.startgetAllOAuthApplicationData(org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceCallbackHandler)
-
getAppsAuthorizedByUser
public OAuthConsumerAppDTO[] getAppsAuthorizedByUser() throws RemoteException, OAuthAdminServiceIdentityOAuthAdminException
Auto generated method signature- Specified by:
getAppsAuthorizedByUser
in interfaceOAuthAdminService
- Parameters:
getAppsAuthorizedByUser47
-- Throws:
OAuthAdminServiceIdentityOAuthAdminException
- :RemoteException
- See Also:
OAuthAdminService.getAppsAuthorizedByUser()
-
startgetAppsAuthorizedByUser
public void startgetAppsAuthorizedByUser(OAuthAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetAppsAuthorizedByUser
in interfaceOAuthAdminService
- Parameters:
getAppsAuthorizedByUser47
-- Throws:
RemoteException
- See Also:
OAuthAdminService.startgetAppsAuthorizedByUser(org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceCallbackHandler)
-
getAllowedGrantTypes
public String[] getAllowedGrantTypes() throws RemoteException
Auto generated method signature- Specified by:
getAllowedGrantTypes
in interfaceOAuthAdminService
- Parameters:
getAllowedGrantTypes50
-- Throws:
RemoteException
- See Also:
OAuthAdminService.getAllowedGrantTypes()
-
startgetAllowedGrantTypes
public void startgetAllowedGrantTypes(OAuthAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetAllowedGrantTypes
in interfaceOAuthAdminService
- Parameters:
getAllowedGrantTypes50
-- Throws:
RemoteException
- See Also:
OAuthAdminService.startgetAllowedGrantTypes(org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceCallbackHandler)
-
registerOAuthConsumer
public String[] registerOAuthConsumer() throws RemoteException, OAuthAdminServiceException
Auto generated method signature- Specified by:
registerOAuthConsumer
in interfaceOAuthAdminService
- Parameters:
registerOAuthConsumer53
-- Throws:
OAuthAdminServiceException
- :RemoteException
- See Also:
OAuthAdminService.registerOAuthConsumer()
-
startregisterOAuthConsumer
public void startregisterOAuthConsumer(OAuthAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startregisterOAuthConsumer
in interfaceOAuthAdminService
- Parameters:
registerOAuthConsumer53
-- Throws:
RemoteException
- See Also:
OAuthAdminService.startregisterOAuthConsumer(org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceCallbackHandler)
-
updateConsumerApplication
public void updateConsumerApplication(OAuthConsumerAppDTO consumerAppDTO57) throws RemoteException, OAuthAdminServiceException
Auto generated method signature- Specified by:
updateConsumerApplication
in interfaceOAuthAdminService
- Throws:
OAuthAdminServiceException
- :RemoteException
-
-