public class IAPlatformClient extends Object
Constructor and Description |
---|
IAPlatformClient() |
Modifier and Type | Method and Description |
---|---|
PlatformResponse |
disconnect(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret)
Disconnects the user from quickbooks
|
List<String> |
getAppMenu(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret)
Get App Menu returns list of all the applications that are linked with
the selected company
|
User |
getcurrentUser(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret)
getCurrentUser the user from quickbooks
|
Map<String,String> |
getOAuthAccessToken(String verifierCode,
String requestToken,
String requestTokenSecret,
String consumerKey,
String consumerSecret)
Gets the accesstoken and accesstokensecret
|
String |
getOauthAuthorizeUrl(String requestToken) |
String |
getOpenIdAuthorizeUrl()
Gets the authorization url for OpenId
|
Map<String,String> |
getRequestTokenAndSecret(String consumerKey,
String consumerSecret) |
PlatformResponse |
reConnect(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret) |
org.openid4java.discovery.Identifier |
verifyOpenIdResponse(String receivingUrl,
Map<String,String[]> parameterMap) |
public PlatformResponse disconnect(String consumerKey, String consumerSecret, String accessToken, String accessTokenSecret) throws ConnectionException
ConnectionException
public User getcurrentUser(String consumerKey, String consumerSecret, String accessToken, String accessTokenSecret) throws ConnectionException
ConnectionException
public List<String> getAppMenu(String consumerKey, String consumerSecret, String accessToken, String accessTokenSecret) throws ConnectionException
ConnectionException
public Map<String,String> getRequestTokenAndSecret(String consumerKey, String consumerSecret) throws OAuthException
OAuthException
public String getOauthAuthorizeUrl(String requestToken) throws OAuthException
requestToken
- OAuthException
- This API will prepare the authorization URL and return it backpublic Map<String,String> getOAuthAccessToken(String verifierCode, String requestToken, String requestTokenSecret, String consumerKey, String consumerSecret) throws OAuthException
verofierCode
- requestToken
- (After the user authorization)requestTokensecret
- OAuthException
public String getOpenIdAuthorizeUrl() throws OpenIdException
OpenIdException
public org.openid4java.discovery.Identifier verifyOpenIdResponse(String receivingUrl, Map<String,String[]> parameterMap) throws OpenIdException
receivingUrl
- parameterMap
- OpenIdException
public PlatformResponse reConnect(String consumerKey, String consumerSecret, String accessToken, String accessTokenSecret) throws ConnectionException
consumerKey
- consumerSecret
- accessToken
- accessTokenSecret
- ConnectionException
Copyright © 2017. All rights reserved.