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 signatureOAuthConsumerAppDTOgetOAuthApplicationData(String consumerKey37)Auto generated method signaturevoidregisterOAuthApplicationData(OAuthConsumerAppDTO application33)Auto generated method signatureString[]registerOAuthConsumer()Auto generated method signaturevoidremoveOAuthApplicationData(String consumerKey35)Auto generated method signatureOAuthRevocationResponseDTOrevokeAuthzForAppsByResoureOwner(OAuthRevocationRequestDTO revokeRequestDTO41)Auto generated method signaturevoidstartgetAllOAuthApplicationData(OAuthAdminServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartgetAllowedGrantTypes(OAuthAdminServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartgetAppsAuthorizedByUser(OAuthAdminServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartgetOAuthApplicationData(String consumerKey37, OAuthAdminServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartregisterOAuthConsumer(OAuthAdminServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartrevokeAuthzForAppsByResoureOwner(OAuthRevocationRequestDTO revokeRequestDTO41, OAuthAdminServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidupdateConsumerApplication(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.AxisFaultConstructor 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.AxisFaultConstructor 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.AxisFaultDefault Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuthAdminServiceStub
public OAuthAdminServiceStub() throws org.apache.axis2.AxisFaultDefault 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:
registerOAuthApplicationDatain interfaceOAuthAdminService- Throws:
OAuthAdminServiceException- :RemoteException
-
removeOAuthApplicationData
public void removeOAuthApplicationData(String consumerKey35) throws RemoteException, OAuthAdminServiceException
Auto generated method signature- Specified by:
removeOAuthApplicationDatain interfaceOAuthAdminService- Throws:
OAuthAdminServiceException- :RemoteException
-
getOAuthApplicationData
public OAuthConsumerAppDTO getOAuthApplicationData(String consumerKey37) throws RemoteException, OAuthAdminServiceException
Auto generated method signature- Specified by:
getOAuthApplicationDatain 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:
startgetOAuthApplicationDatain 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:
revokeAuthzForAppsByResoureOwnerin 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:
startrevokeAuthzForAppsByResoureOwnerin 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:
getAllOAuthApplicationDatain 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:
startgetAllOAuthApplicationDatain 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:
getAppsAuthorizedByUserin 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:
startgetAppsAuthorizedByUserin 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:
getAllowedGrantTypesin 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:
startgetAllowedGrantTypesin 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:
registerOAuthConsumerin 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:
startregisterOAuthConsumerin 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:
updateConsumerApplicationin interfaceOAuthAdminService- Throws:
OAuthAdminServiceException- :RemoteException
-
-