Class OAuthAdminServiceCallbackHandler
java.lang.Object
org.wso2.carbon.identity.oauth.stub.OAuthAdminServiceCallbackHandler
OAuthAdminServiceCallbackHandler Callback class, Users can extend this class and implement
their own receiveResult and receiveError methods.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlease use this constructor if you don't want to set any clientDataOAuthAdminServiceCallbackHandler(Object clientData) User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called. -
Method Summary
Modifier and TypeMethodDescriptionGet the client datavoidauto generated Axis2 Error handler override this method for handling error response from getAllOAuthApplicationData operationvoidauto generated Axis2 Error handler override this method for handling error response from getAllowedGrantTypes operationvoidauto generated Axis2 Error handler override this method for handling error response from getAppsAuthorizedByUser operationvoidauto generated Axis2 Error handler override this method for handling error response from getOAuthApplicationData operationvoidauto generated Axis2 Error handler override this method for handling error response from registerOAuthConsumer operationvoidauto generated Axis2 Error handler override this method for handling error response from revokeAuthzForAppsByResoureOwner operationvoidauto generated Axis2 call back method for getAllOAuthApplicationData method override this method for handling normal response from getAllOAuthApplicationData operationvoidreceiveResultgetAllowedGrantTypes(String[] result) auto generated Axis2 call back method for getAllowedGrantTypes method override this method for handling normal response from getAllowedGrantTypes operationvoidauto generated Axis2 call back method for getAppsAuthorizedByUser method override this method for handling normal response from getAppsAuthorizedByUser operationvoidauto generated Axis2 call back method for getOAuthApplicationData method override this method for handling normal response from getOAuthApplicationData operationvoidreceiveResultregisterOAuthConsumer(String[] result) auto generated Axis2 call back method for registerOAuthConsumer method override this method for handling normal response from registerOAuthConsumer operationvoidauto generated Axis2 call back method for revokeAuthzForAppsByResoureOwner method override this method for handling normal response from revokeAuthzForAppsByResoureOwner operation
-
Field Details
-
clientData
-
-
Constructor Details
-
OAuthAdminServiceCallbackHandler
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.- Parameters:
clientData- Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.
-
OAuthAdminServiceCallbackHandler
public OAuthAdminServiceCallbackHandler()Please use this constructor if you don't want to set any clientData
-
-
Method Details
-
getClientData
Get the client data -
receiveResultgetOAuthApplicationData
auto generated Axis2 call back method for getOAuthApplicationData method override this method for handling normal response from getOAuthApplicationData operation -
receiveErrorgetOAuthApplicationData
auto generated Axis2 Error handler override this method for handling error response from getOAuthApplicationData operation -
receiveResultrevokeAuthzForAppsByResoureOwner
auto generated Axis2 call back method for revokeAuthzForAppsByResoureOwner method override this method for handling normal response from revokeAuthzForAppsByResoureOwner operation -
receiveErrorrevokeAuthzForAppsByResoureOwner
auto generated Axis2 Error handler override this method for handling error response from revokeAuthzForAppsByResoureOwner operation -
receiveResultgetAllOAuthApplicationData
auto generated Axis2 call back method for getAllOAuthApplicationData method override this method for handling normal response from getAllOAuthApplicationData operation -
receiveErrorgetAllOAuthApplicationData
auto generated Axis2 Error handler override this method for handling error response from getAllOAuthApplicationData operation -
receiveResultgetAppsAuthorizedByUser
auto generated Axis2 call back method for getAppsAuthorizedByUser method override this method for handling normal response from getAppsAuthorizedByUser operation -
receiveErrorgetAppsAuthorizedByUser
auto generated Axis2 Error handler override this method for handling error response from getAppsAuthorizedByUser operation -
receiveResultgetAllowedGrantTypes
auto generated Axis2 call back method for getAllowedGrantTypes method override this method for handling normal response from getAllowedGrantTypes operation -
receiveErrorgetAllowedGrantTypes
auto generated Axis2 Error handler override this method for handling error response from getAllowedGrantTypes operation -
receiveResultregisterOAuthConsumer
auto generated Axis2 call back method for registerOAuthConsumer method override this method for handling normal response from registerOAuthConsumer operation -
receiveErrorregisterOAuthConsumer
auto generated Axis2 Error handler override this method for handling error response from registerOAuthConsumer operation
-