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 Parameters
authorizeOauthRequestToken(Parameters params41)
Auto generated method signatureParameters
getAccessToken(Parameters params45)
Auto generated method signatureParameters
getOauthRequestToken(Parameters params53)
Auto generated method signatureParameters
getScopeAndAppName(String oauthToken49)
Auto generated method signatureboolean
isOAuthConsumerValid(OAuthConsumerDTO oauthConsumer33)
Auto generated method signaturevoid
startauthorizeOauthRequestToken(Parameters params41, OAuthServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetAccessToken(Parameters params45, OAuthServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetOauthRequestToken(Parameters params53, OAuthServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetScopeAndAppName(String oauthToken49, OAuthServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startisOAuthConsumerValid(OAuthConsumerDTO oauthConsumer33, OAuthServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startvalidateAuthenticationRequest(Parameters params37, OAuthServiceCallbackHandler callback)
Auto generated method signature for Asynchronous InvocationsParameters
validateAuthenticationRequest(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.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.AxisFault
Default 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:
isOAuthConsumerValid
in 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:
startisOAuthConsumerValid
in 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:
validateAuthenticationRequest
in 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:
startvalidateAuthenticationRequest
in 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:
authorizeOauthRequestToken
in 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:
startauthorizeOauthRequestToken
in 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:
getAccessToken
in 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:
startgetAccessToken
in 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:
getScopeAndAppName
in 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:
startgetScopeAndAppName
in 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:
getOauthRequestToken
in 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:
startgetOauthRequestToken
in interfaceOAuthService
- Parameters:
getOauthRequestToken52
-- Throws:
RemoteException
- See Also:
OAuthService.startgetOauthRequestToken(org.wso2.carbon.identity.oauth.stub.types.Parameters, org.wso2.carbon.identity.oauth.stub.OAuthServiceCallbackHandler)
-
-