Class OAuth2ServiceStub
- java.lang.Object
-
- org.apache.axis2.client.Stub
-
- org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceStub
-
- All Implemented Interfaces:
OAuth2Service
public class OAuth2ServiceStub extends org.apache.axis2.client.Stub implements OAuth2Service
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.axis2.description.AxisOperation[]_operations
-
Constructor Summary
Constructors Constructor Description OAuth2ServiceStub()Default ConstructorOAuth2ServiceStub(String targetEndpoint)Constructor taking the target endpointOAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext)Default ConstructorOAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint)Constructor that takes in a configContextOAuth2ServiceStub(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 OAuth2AuthorizeRespDTOauthorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39)Auto generated method signatureClaim[]getUserClaims(String accessToken43)Auto generated method signatureOAuth2AccessTokenRespDTOissueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35)Auto generated method signatureOAuthRevocationResponseDTOrevokeTokenByOAuthClient(OAuthRevocationRequestDTO revokeRequestDTO31)Auto generated method signaturevoidstartauthorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39, OAuth2ServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartgetUserClaims(String accessToken43, OAuth2ServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartissueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35, OAuth2ServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartrevokeTokenByOAuthClient(OAuthRevocationRequestDTO revokeRequestDTO31, OAuth2ServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsvoidstartvalidateClientInfo(String clientId26, String callbackURI27, OAuth2ServiceCallbackHandler callback)Auto generated method signature for Asynchronous InvocationsOAuth2ClientValidationResponseDTOvalidateClientInfo(String clientId26, String callbackURI27)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
-
OAuth2ServiceStub
public OAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) throws org.apache.axis2.AxisFaultConstructor that takes in a configContext- Throws:
org.apache.axis2.AxisFault
-
OAuth2ServiceStub
public OAuth2ServiceStub(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
-
OAuth2ServiceStub
public OAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFaultDefault Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuth2ServiceStub
public OAuth2ServiceStub() throws org.apache.axis2.AxisFaultDefault Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuth2ServiceStub
public OAuth2ServiceStub(String targetEndpoint) throws org.apache.axis2.AxisFault
Constructor taking the target endpoint- Throws:
org.apache.axis2.AxisFault
-
-
Method Detail
-
validateClientInfo
public OAuth2ClientValidationResponseDTO validateClientInfo(String clientId26, String callbackURI27) throws RemoteException
Auto generated method signature- Specified by:
validateClientInfoin interfaceOAuth2Service- Parameters:
validateClientInfo25-- Throws:
RemoteException- See Also:
OAuth2Service.validateClientInfo(java.lang.String, java.lang.String)
-
startvalidateClientInfo
public void startvalidateClientInfo(String clientId26, String callbackURI27, OAuth2ServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startvalidateClientInfoin interfaceOAuth2Service- Parameters:
validateClientInfo25-- Throws:
RemoteException- See Also:
OAuth2Service.startvalidateClientInfo(java.lang.String, java.lang.String, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
-
revokeTokenByOAuthClient
public OAuthRevocationResponseDTO revokeTokenByOAuthClient(OAuthRevocationRequestDTO revokeRequestDTO31) throws RemoteException
Auto generated method signature- Specified by:
revokeTokenByOAuthClientin interfaceOAuth2Service- Parameters:
revokeTokenByOAuthClient30-- Throws:
RemoteException- See Also:
OAuth2Service.revokeTokenByOAuthClient(org.wso2.carbon.identity.oauth2.stub.dto.OAuthRevocationRequestDTO)
-
startrevokeTokenByOAuthClient
public void startrevokeTokenByOAuthClient(OAuthRevocationRequestDTO revokeRequestDTO31, OAuth2ServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startrevokeTokenByOAuthClientin interfaceOAuth2Service- Parameters:
revokeTokenByOAuthClient30-- Throws:
RemoteException- See Also:
OAuth2Service.startrevokeTokenByOAuthClient(org.wso2.carbon.identity.oauth2.stub.dto.OAuthRevocationRequestDTO, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
-
issueAccessToken
public OAuth2AccessTokenRespDTO issueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35) throws RemoteException
Auto generated method signature- Specified by:
issueAccessTokenin interfaceOAuth2Service- Parameters:
issueAccessToken34-- Throws:
RemoteException- See Also:
OAuth2Service.issueAccessToken(org.wso2.carbon.identity.oauth2.stub.dto.OAuth2AccessTokenReqDTO)
-
startissueAccessToken
public void startissueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35, OAuth2ServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startissueAccessTokenin interfaceOAuth2Service- Parameters:
issueAccessToken34-- Throws:
RemoteException- See Also:
OAuth2Service.startissueAccessToken(org.wso2.carbon.identity.oauth2.stub.dto.OAuth2AccessTokenReqDTO, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
-
authorize
public OAuth2AuthorizeRespDTO authorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39) throws RemoteException
Auto generated method signature- Specified by:
authorizein interfaceOAuth2Service- Parameters:
authorize38-- Throws:
RemoteException- See Also:
OAuth2Service.authorize(org.wso2.carbon.identity.oauth2.stub.dto.OAuth2AuthorizeReqDTO)
-
startauthorize
public void startauthorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39, OAuth2ServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startauthorizein interfaceOAuth2Service- Parameters:
authorize38-- Throws:
RemoteException- See Also:
OAuth2Service.startauthorize(org.wso2.carbon.identity.oauth2.stub.dto.OAuth2AuthorizeReqDTO, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
-
getUserClaims
public Claim[] getUserClaims(String accessToken43) throws RemoteException
Auto generated method signature- Specified by:
getUserClaimsin interfaceOAuth2Service- Parameters:
getUserClaims42-- Throws:
RemoteException- See Also:
OAuth2Service.getUserClaims(java.lang.String)
-
startgetUserClaims
public void startgetUserClaims(String accessToken43, OAuth2ServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetUserClaimsin interfaceOAuth2Service- Parameters:
getUserClaims42-- Throws:
RemoteException- See Also:
OAuth2Service.startgetUserClaims(java.lang.String, org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceCallbackHandler)
-
-