public abstract class OAuthServiceCallbackHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected Object |
clientData |
Constructor and Description |
---|
OAuthServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData
|
OAuthServiceCallbackHandler(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.
|
Modifier and Type | Method and Description |
---|---|
Object |
getClientData()
Get the client data
|
void |
receiveErrorauthorizeOauthRequestToken(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from authorizeOauthRequestToken operation
|
void |
receiveErrorgetAccessToken(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getAccessToken operation
|
void |
receiveErrorgetOauthRequestToken(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getOauthRequestToken operation
|
void |
receiveErrorgetScopeAndAppName(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getScopeAndAppName operation
|
void |
receiveErrorisOAuthConsumerValid(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from isOAuthConsumerValid operation
|
void |
receiveErrorvalidateAuthenticationRequest(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from validateAuthenticationRequest operation
|
void |
receiveResultauthorizeOauthRequestToken(Parameters result)
auto generated Axis2 call back method for authorizeOauthRequestToken method
override this method for handling normal response from authorizeOauthRequestToken operation
|
void |
receiveResultgetAccessToken(Parameters result)
auto generated Axis2 call back method for getAccessToken method
override this method for handling normal response from getAccessToken operation
|
void |
receiveResultgetOauthRequestToken(Parameters result)
auto generated Axis2 call back method for getOauthRequestToken method
override this method for handling normal response from getOauthRequestToken operation
|
void |
receiveResultgetScopeAndAppName(Parameters result)
auto generated Axis2 call back method for getScopeAndAppName method
override this method for handling normal response from getScopeAndAppName operation
|
void |
receiveResultisOAuthConsumerValid(boolean result)
auto generated Axis2 call back method for isOAuthConsumerValid method
override this method for handling normal response from isOAuthConsumerValid operation
|
void |
receiveResultvalidateAuthenticationRequest(Parameters result)
auto generated Axis2 call back method for validateAuthenticationRequest method
override this method for handling normal response from validateAuthenticationRequest operation
|
protected Object clientData
public OAuthServiceCallbackHandler(Object clientData)
clientData
- Object mechanism by which the user can pass in user data
that will be avilable at the time this callback is called.public OAuthServiceCallbackHandler()
public Object getClientData()
public void receiveResultvalidateAuthenticationRequest(Parameters result)
public void receiveErrorvalidateAuthenticationRequest(Exception e)
public void receiveResultgetScopeAndAppName(Parameters result)
public void receiveErrorgetScopeAndAppName(Exception e)
public void receiveResultgetAccessToken(Parameters result)
public void receiveErrorgetAccessToken(Exception e)
public void receiveResultisOAuthConsumerValid(boolean result)
public void receiveErrorisOAuthConsumerValid(Exception e)
public void receiveResultgetOauthRequestToken(Parameters result)
public void receiveErrorgetOauthRequestToken(Exception e)
public void receiveResultauthorizeOauthRequestToken(Parameters result)
public void receiveErrorauthorizeOauthRequestToken(Exception e)
Copyright © 2017 WSO2. All rights reserved.