public class OAuth2ServiceStub extends org.apache.axis2.client.Stub implements OAuth2Service
Modifier and Type | Field and Description |
---|---|
protected org.apache.axis2.description.AxisOperation[] |
_operations |
Constructor and Description |
---|
OAuth2ServiceStub()
Default Constructor
|
OAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext)
Default Constructor
|
OAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext,
String targetEndpoint)
Constructor that takes in a configContext
|
OAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext,
String targetEndpoint,
boolean useSeparateListener)
Constructor that takes in a configContext and useseperate listner
|
OAuth2ServiceStub(String targetEndpoint)
Constructor taking the target endpoint
|
Modifier and Type | Method and Description |
---|---|
OAuth2AuthorizeRespDTO |
authorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39)
Auto generated method signature
|
Claim[] |
getUserClaims(String accessToken43)
Auto generated method signature
|
OAuth2AccessTokenRespDTO |
issueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35)
Auto generated method signature
|
OAuthRevocationResponseDTO |
revokeTokenByOAuthClient(OAuthRevocationRequestDTO revokeRequestDTO31)
Auto generated method signature
|
void |
startauthorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39,
OAuth2ServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocations
|
void |
startgetUserClaims(String accessToken43,
OAuth2ServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocations
|
void |
startissueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35,
OAuth2ServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocations
|
void |
startrevokeTokenByOAuthClient(OAuthRevocationRequestDTO revokeRequestDTO31,
OAuth2ServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocations
|
void |
startvalidateClientInfo(String clientId26,
String callbackURI27,
OAuth2ServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocations
|
OAuth2ClientValidationResponseDTO |
validateClientInfo(String clientId26,
String callbackURI27)
Auto generated method signature
|
_getServiceClient, _setServiceClient, addAnonymousOperations, addHeader, addHeader, addHttpHeader, addPropertyToOperationClient, addPropertyToOperationClient, addPropertyToOperationClient, cleanup, createEnvelope, finalize, getFactory, setMustUnderstand, setServiceClientEPR
public OAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public OAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public OAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public OAuth2ServiceStub() throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public OAuth2ServiceStub(String targetEndpoint) throws org.apache.axis2.AxisFault
org.apache.axis2.AxisFault
public OAuth2ClientValidationResponseDTO validateClientInfo(String clientId26, String callbackURI27) throws RemoteException
validateClientInfo
in interface OAuth2Service
validateClientInfo25
- RemoteException
OAuth2Service.validateClientInfo(java.lang.String, java.lang.String)
public void startvalidateClientInfo(String clientId26, String callbackURI27, OAuth2ServiceCallbackHandler callback) throws RemoteException
startvalidateClientInfo
in interface OAuth2Service
validateClientInfo25
- RemoteException
OAuth2Service.startvalidateClientInfo(java.lang.String, java.lang.String, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
public OAuthRevocationResponseDTO revokeTokenByOAuthClient(OAuthRevocationRequestDTO revokeRequestDTO31) throws RemoteException
revokeTokenByOAuthClient
in interface OAuth2Service
revokeTokenByOAuthClient30
- RemoteException
OAuth2Service.revokeTokenByOAuthClient(org.wso2.carbon.identity.oauth2.stub.dto.OAuthRevocationRequestDTO)
public void startrevokeTokenByOAuthClient(OAuthRevocationRequestDTO revokeRequestDTO31, OAuth2ServiceCallbackHandler callback) throws RemoteException
startrevokeTokenByOAuthClient
in interface OAuth2Service
revokeTokenByOAuthClient30
- RemoteException
OAuth2Service.startrevokeTokenByOAuthClient(org.wso2.carbon.identity.oauth2.stub.dto.OAuthRevocationRequestDTO, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
public OAuth2AccessTokenRespDTO issueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35) throws RemoteException
issueAccessToken
in interface OAuth2Service
issueAccessToken34
- RemoteException
OAuth2Service.issueAccessToken(org.wso2.carbon.identity.oauth2.stub.dto.OAuth2AccessTokenReqDTO)
public void startissueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35, OAuth2ServiceCallbackHandler callback) throws RemoteException
startissueAccessToken
in interface OAuth2Service
issueAccessToken34
- RemoteException
OAuth2Service.startissueAccessToken(org.wso2.carbon.identity.oauth2.stub.dto.OAuth2AccessTokenReqDTO, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
public OAuth2AuthorizeRespDTO authorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39) throws RemoteException
authorize
in interface OAuth2Service
authorize38
- RemoteException
OAuth2Service.authorize(org.wso2.carbon.identity.oauth2.stub.dto.OAuth2AuthorizeReqDTO)
public void startauthorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39, OAuth2ServiceCallbackHandler callback) throws RemoteException
startauthorize
in interface OAuth2Service
authorize38
- RemoteException
OAuth2Service.startauthorize(org.wso2.carbon.identity.oauth2.stub.dto.OAuth2AuthorizeReqDTO, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
public Claim[] getUserClaims(String accessToken43) throws RemoteException
getUserClaims
in interface OAuth2Service
getUserClaims42
- RemoteException
OAuth2Service.getUserClaims(java.lang.String)
public void startgetUserClaims(String accessToken43, OAuth2ServiceCallbackHandler callback) throws RemoteException
startgetUserClaims
in interface OAuth2Service
getUserClaims42
- RemoteException
OAuth2Service.startgetUserClaims(java.lang.String, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
Copyright © 2017 WSO2. All rights reserved.