Class OAuthServiceStub
- java.lang.Object
-
- org.apache.axis2.client.Stub
-
- org.wso2.carbon.identity.oauth.stub.OAuthServiceStub
-
- All Implemented Interfaces:
OAuthService
public class OAuthServiceStub extends org.apache.axis2.client.Stub implements OAuthService
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.axis2.description.AxisOperation[]_operations
-
Constructor Summary
Constructors Constructor Description OAuthServiceStub()Default 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParametersauthorizeOauthRequestToken(Parameters params41)Auto generated method signatureParametersgetAccessToken(Parameters params45)Auto generated method signatureParametersgetOauthRequestToken(Parameters params53)Auto generated method signatureParametersgetScopeAndAppName(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 InvocationsParametersvalidateAuthenticationRequest(Parameters params37)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
-
OAuthServiceStub
public OAuthServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) throws org.apache.axis2.AxisFaultConstructor 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.AxisFaultConstructor 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.AxisFaultDefault Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuthServiceStub
public OAuthServiceStub() throws org.apache.axis2.AxisFaultDefault Constructor- Throws:
org.apache.axis2.AxisFault
-
OAuthServiceStub
public OAuthServiceStub(String targetEndpoint) throws org.apache.axis2.AxisFault
Constructor taking the target endpoint- Throws:
org.apache.axis2.AxisFault
-
-
Method Detail
-
isOAuthConsumerValid
public boolean isOAuthConsumerValid(OAuthConsumerDTO oauthConsumer33) throws RemoteException, OAuthServiceIdentityException
Auto generated method signature- Specified by:
isOAuthConsumerValidin interfaceOAuthService- Parameters:
isOAuthConsumerValid32-- Throws:
OAuthServiceIdentityException- :RemoteException- See Also:
OAuthService.isOAuthConsumerValid(org.wso2.carbon.identity.oauth.stub.dto.OAuthConsumerDTO)
-
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:
OAuthService.startisOAuthConsumerValid(org.wso2.carbon.identity.oauth.stub.dto.OAuthConsumerDTO, org.wso2.carbon.identity.oauth.stub.OAuthServiceCallbackHandler)
-
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:
OAuthService.validateAuthenticationRequest(org.wso2.carbon.identity.oauth.stub.types.Parameters)
-
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:
OAuthService.startvalidateAuthenticationRequest(org.wso2.carbon.identity.oauth.stub.types.Parameters, org.wso2.carbon.identity.oauth.stub.OAuthServiceCallbackHandler)
-
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:
OAuthService.authorizeOauthRequestToken(org.wso2.carbon.identity.oauth.stub.types.Parameters)
-
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:
OAuthService.startauthorizeOauthRequestToken(org.wso2.carbon.identity.oauth.stub.types.Parameters, org.wso2.carbon.identity.oauth.stub.OAuthServiceCallbackHandler)
-
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:
OAuthService.getAccessToken(org.wso2.carbon.identity.oauth.stub.types.Parameters)
-
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:
OAuthService.startgetAccessToken(org.wso2.carbon.identity.oauth.stub.types.Parameters, org.wso2.carbon.identity.oauth.stub.OAuthServiceCallbackHandler)
-
getScopeAndAppName
public Parameters getScopeAndAppName(String oauthToken49) throws RemoteException, OAuthServiceException
Auto generated method signature- Specified by:
getScopeAndAppNamein interfaceOAuthService- Parameters:
getScopeAndAppName48-- Throws:
OAuthServiceException- :RemoteException- See Also:
OAuthService.getScopeAndAppName(java.lang.String)
-
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:
OAuthService.startgetScopeAndAppName(java.lang.String, org.wso2.carbon.identity.oauth.stub.OAuthServiceCallbackHandler)
-
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:
OAuthService.getOauthRequestToken(org.wso2.carbon.identity.oauth.stub.types.Parameters)
-
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:
OAuthService.startgetOauthRequestToken(org.wso2.carbon.identity.oauth.stub.types.Parameters, org.wso2.carbon.identity.oauth.stub.OAuthServiceCallbackHandler)
-
-