Class OAuthServiceStub
java.lang.Object
org.apache.axis2.client.Stub
org.wso2.carbon.identity.oauth.stub.OAuthServiceStub
- All Implemented Interfaces:
OAuthService
-
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 ConstructorOAuthServiceStub(String targetEndpoint) Constructor taking the target endpointOAuthServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) Default ConstructorOAuthServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) Constructor that takes in a configContextOAuthServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener) Constructor that takes in a configContext and useseperate listner -
Method Summary
Modifier and TypeMethodDescriptionauthorizeOauthRequestToken(Parameters params41) Auto generated method signaturegetAccessToken(Parameters params45) Auto generated method signaturegetOauthRequestToken(Parameters params53) Auto generated method signaturegetScopeAndAppName(String oauthToken49) Auto generated method signaturebooleanisOAuthConsumerValid(OAuthConsumerDTO oauthConsumer33) Auto generated method signaturevoidstartauthorizeOauthRequestToken(Parameters params41, OAuthServiceCallbackHandler callback) Auto generated method signature for Asynchronous InvocationsvoidstartgetAccessToken(Parameters params45, OAuthServiceCallbackHandler callback) Auto generated method signature for Asynchronous InvocationsvoidstartgetOauthRequestToken(Parameters params53, OAuthServiceCallbackHandler callback) Auto generated method signature for Asynchronous InvocationsvoidstartgetScopeAndAppName(String oauthToken49, OAuthServiceCallbackHandler callback) Auto generated method signature for Asynchronous InvocationsvoidstartisOAuthConsumerValid(OAuthConsumerDTO oauthConsumer33, OAuthServiceCallbackHandler callback) Auto generated method signature for Asynchronous InvocationsvoidstartvalidateAuthenticationRequest(Parameters params37, OAuthServiceCallbackHandler callback) Auto generated method signature for Asynchronous InvocationsvalidateAuthenticationRequest(Parameters params37) 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
-
OAuthServiceStub
public OAuthServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) throws org.apache.axis2.AxisFault Constructor that takes in a configContext- Throws:
org.apache.axis2.AxisFault
-
OAuthServiceStub
public OAuthServiceStub(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
-
OAuthServiceStub
public OAuthServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault Default Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuthServiceStub
public OAuthServiceStub() throws org.apache.axis2.AxisFaultDefault Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuthServiceStub
Constructor taking the target endpoint- Throws:
org.apache.axis2.AxisFault
-
-
Method Details
-
isOAuthConsumerValid
public boolean isOAuthConsumerValid(OAuthConsumerDTO oauthConsumer33) throws RemoteException, OAuthServiceIdentityException Auto generated method signature- Specified by:
isOAuthConsumerValidin interfaceOAuthService- Parameters:
isOAuthConsumerValid32-- Throws:
OAuthServiceIdentityException- :RemoteException- See Also:
-
startisOAuthConsumerValid
public void startisOAuthConsumerValid(OAuthConsumerDTO oauthConsumer33, OAuthServiceCallbackHandler callback) throws RemoteException Auto generated method signature for Asynchronous Invocations- Specified by:
startisOAuthConsumerValidin interfaceOAuthService- Parameters:
isOAuthConsumerValid32-- Throws:
RemoteException- See Also:
-
validateAuthenticationRequest
public Parameters validateAuthenticationRequest(Parameters params37) throws RemoteException, OAuthServiceIdentityException, OAuthServiceAuthenticationException Auto generated method signature- Specified by:
validateAuthenticationRequestin interfaceOAuthService- Parameters:
validateAuthenticationRequest36-- Throws:
OAuthServiceIdentityException- :OAuthServiceAuthenticationException- :RemoteException- See Also:
-
startvalidateAuthenticationRequest
public void startvalidateAuthenticationRequest(Parameters params37, OAuthServiceCallbackHandler callback) throws RemoteException Auto generated method signature for Asynchronous Invocations- Specified by:
startvalidateAuthenticationRequestin interfaceOAuthService- Parameters:
validateAuthenticationRequest36-- Throws:
RemoteException- See Also:
-
authorizeOauthRequestToken
public Parameters authorizeOauthRequestToken(Parameters params41) throws RemoteException, OAuthServiceIdentityException, OAuthServiceAuthenticationException Auto generated method signature- Specified by:
authorizeOauthRequestTokenin interfaceOAuthService- Parameters:
authorizeOauthRequestToken40-- Throws:
OAuthServiceIdentityException- :OAuthServiceAuthenticationException- :RemoteException- See Also:
-
startauthorizeOauthRequestToken
public void startauthorizeOauthRequestToken(Parameters params41, OAuthServiceCallbackHandler callback) throws RemoteException Auto generated method signature for Asynchronous Invocations- Specified by:
startauthorizeOauthRequestTokenin interfaceOAuthService- Parameters:
authorizeOauthRequestToken40-- Throws:
RemoteException- See Also:
-
getAccessToken
public Parameters getAccessToken(Parameters params45) throws RemoteException, OAuthServiceIdentityOAuthAdminException, OAuthServiceAuthenticationException Auto generated method signature- Specified by:
getAccessTokenin interfaceOAuthService- Parameters:
getAccessToken44-- Throws:
OAuthServiceIdentityOAuthAdminException- :OAuthServiceAuthenticationException- :RemoteException- See Also:
-
startgetAccessToken
public void startgetAccessToken(Parameters params45, OAuthServiceCallbackHandler callback) throws RemoteException Auto generated method signature for Asynchronous Invocations- Specified by:
startgetAccessTokenin interfaceOAuthService- Parameters:
getAccessToken44-- Throws:
RemoteException- See Also:
-
getScopeAndAppName
public Parameters getScopeAndAppName(String oauthToken49) throws RemoteException, OAuthServiceException Auto generated method signature- Specified by:
getScopeAndAppNamein interfaceOAuthService- Parameters:
getScopeAndAppName48-- Throws:
OAuthServiceException- :RemoteException- See Also:
-
startgetScopeAndAppName
public void startgetScopeAndAppName(String oauthToken49, OAuthServiceCallbackHandler callback) throws RemoteException Auto generated method signature for Asynchronous Invocations- Specified by:
startgetScopeAndAppNamein interfaceOAuthService- Parameters:
getScopeAndAppName48-- Throws:
RemoteException- See Also:
-
getOauthRequestToken
public Parameters getOauthRequestToken(Parameters params53) throws RemoteException, OAuthServiceIdentityOAuthAdminException, OAuthServiceAuthenticationException Auto generated method signature- Specified by:
getOauthRequestTokenin interfaceOAuthService- Parameters:
getOauthRequestToken52-- Throws:
OAuthServiceIdentityOAuthAdminException- :OAuthServiceAuthenticationException- :RemoteException- See Also:
-
startgetOauthRequestToken
public void startgetOauthRequestToken(Parameters params53, OAuthServiceCallbackHandler callback) throws RemoteException Auto generated method signature for Asynchronous Invocations- Specified by:
startgetOauthRequestTokenin interfaceOAuthService- Parameters:
getOauthRequestToken52-- Throws:
RemoteException- See Also:
-