public abstract class OAuth2ServiceCallbackHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected Object |
clientData |
Constructor and Description |
---|
OAuth2ServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData
|
OAuth2ServiceCallbackHandler(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 |
receiveErrorauthorize(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from authorize operation
|
void |
receiveErrorgetUserClaims(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getUserClaims operation
|
void |
receiveErrorissueAccessToken(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from issueAccessToken operation
|
void |
receiveErrorrevokeTokenByOAuthClient(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from revokeTokenByOAuthClient operation
|
void |
receiveErrorvalidateClientInfo(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from validateClientInfo operation
|
void |
receiveResultauthorize(OAuth2AuthorizeRespDTO result)
auto generated Axis2 call back method for authorize method
override this method for handling normal response from authorize operation
|
void |
receiveResultgetUserClaims(Claim[] result)
auto generated Axis2 call back method for getUserClaims method
override this method for handling normal response from getUserClaims operation
|
void |
receiveResultissueAccessToken(OAuth2AccessTokenRespDTO result)
auto generated Axis2 call back method for issueAccessToken method
override this method for handling normal response from issueAccessToken operation
|
void |
receiveResultrevokeTokenByOAuthClient(OAuthRevocationResponseDTO result)
auto generated Axis2 call back method for revokeTokenByOAuthClient method
override this method for handling normal response from revokeTokenByOAuthClient operation
|
void |
receiveResultvalidateClientInfo(OAuth2ClientValidationResponseDTO result)
auto generated Axis2 call back method for validateClientInfo method
override this method for handling normal response from validateClientInfo operation
|
protected Object clientData
public OAuth2ServiceCallbackHandler(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 OAuth2ServiceCallbackHandler()
public Object getClientData()
public void receiveResultauthorize(OAuth2AuthorizeRespDTO result)
public void receiveErrorauthorize(Exception e)
public void receiveResultissueAccessToken(OAuth2AccessTokenRespDTO result)
public void receiveErrorissueAccessToken(Exception e)
public void receiveResultgetUserClaims(Claim[] result)
public void receiveErrorgetUserClaims(Exception e)
public void receiveResultvalidateClientInfo(OAuth2ClientValidationResponseDTO result)
public void receiveErrorvalidateClientInfo(Exception e)
public void receiveResultrevokeTokenByOAuthClient(OAuthRevocationResponseDTO result)
public void receiveErrorrevokeTokenByOAuthClient(Exception e)
Copyright © 2017 WSO2. All rights reserved.