Class OAuth2ServiceStub
java.lang.Object
org.apache.axis2.client.Stub
org.wso2.carbon.identity.oauth2.stub.OAuth2ServiceStub
- All Implemented Interfaces:
OAuth2Service
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.apache.axis2.description.AxisOperation[]Fields inherited from class org.apache.axis2.client.Stub
_service, _serviceClient, modules -
Constructor Summary
ConstructorsConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionauthorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39) Auto generated method signatureClaim[]getUserClaims(String accessToken43) Auto generated method signatureissueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35) Auto generated method signaturerevokeTokenByOAuthClient(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 InvocationsvalidateClientInfo(String clientId26, String callbackURI27) Auto generated method signatureMethods inherited from class org.apache.axis2.client.Stub
_getServiceClient, _setServiceClient, addAnonymousOperations, addHeader, addHeader, addHttpHeader, addPropertyToOperationClient, addPropertyToOperationClient, addPropertyToOperationClient, cleanup, createEnvelope, finalize, getFactory, setMustUnderstand, setServiceClientEPR
-
Field Details
-
_operations
protected org.apache.axis2.description.AxisOperation[] _operations
-
-
Constructor Details
-
OAuth2ServiceStub
public OAuth2ServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) throws org.apache.axis2.AxisFault Constructor 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.AxisFault Constructor 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.AxisFault Default Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuth2ServiceStub
public OAuth2ServiceStub() throws org.apache.axis2.AxisFaultDefault Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuth2ServiceStub
Constructor taking the target endpoint- Throws:
org.apache.axis2.AxisFault
-
-
Method Details
-
validateClientInfo
public OAuth2ClientValidationResponseDTO validateClientInfo(String clientId26, String callbackURI27) throws RemoteException Auto generated method signature- Specified by:
validateClientInfoin interfaceOAuth2Service- Parameters:
validateClientInfo25-- Throws:
RemoteException- See Also:
-
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:
-
revokeTokenByOAuthClient
public OAuthRevocationResponseDTO revokeTokenByOAuthClient(OAuthRevocationRequestDTO revokeRequestDTO31) throws RemoteException Auto generated method signature- Specified by:
revokeTokenByOAuthClientin interfaceOAuth2Service- Parameters:
revokeTokenByOAuthClient30-- Throws:
RemoteException- See Also:
-
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:
-
issueAccessToken
public OAuth2AccessTokenRespDTO issueAccessToken(OAuth2AccessTokenReqDTO tokenReqDTO35) throws RemoteException Auto generated method signature- Specified by:
issueAccessTokenin interfaceOAuth2Service- Parameters:
issueAccessToken34-- Throws:
RemoteException- See Also:
-
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:
-
authorize
public OAuth2AuthorizeRespDTO authorize(OAuth2AuthorizeReqDTO oAuth2AuthorizeReqDTO39) throws RemoteException Auto generated method signature- Specified by:
authorizein interfaceOAuth2Service- Parameters:
authorize38-- Throws:
RemoteException- See Also:
-
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:
-
getUserClaims
Auto generated method signature- Specified by:
getUserClaimsin interfaceOAuth2Service- Parameters:
getUserClaims42-- Throws:
RemoteException- See Also:
-
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:
-