| Package | Description |
|---|---|
| com.adp.marketplace.connection.core | |
| com.adp.marketplace.connection.utils |
| Modifier and Type | Method and Description |
|---|---|
void |
ClientCredentialsConnection.connect()
Initiates a connect request to ADP Authorization Server on the type of
connection configuration.
|
void |
AuthorizationCodeConnection.connect()
Initiates a connect request to ADP Authorization Server on the type of
connection configuration.
|
void |
ADPAPIConnection.connect()
Initiates a connect request to ADP Authorization Server or Token Server based
on the type of connection configuration.
|
ADPAPIConnection |
ADPAPIConnectionFactory.createConnection(ConnectionConfiguration connectionConfiguration)
this method returns an instance of Connection object based on the authorization configuration
|
private ADPAPIConnection |
ADPAPIConnectionFactory.createConnection(GrantType grantType,
ConnectionConfiguration connectionConfiguration)
Returns an instance of Connection object based on the authorization grant type
|
void |
ClientCredentialsConnection.disconnect()
Invokes API to disconnect the connection - currently this method is implemented
to reset the connection to null.
|
void |
AuthorizationCodeConnection.disconnect()
Invokes API to disconnect the connection - currently this method is implemented
to reset the connection to null.
|
void |
ADPAPIConnection.disconnect()
Invokes API to disconnect the connection - currently this method is
implemented to reset the connection to null
|
String |
AuthorizationCodeConnection.getAuthorizationUrl()
Returns Authorization Url after building it from configuration
|
ConnectionConfiguration |
ADPAPIConnectionFactory.init(String grantType)
Returns an instance of Configuration object based on the authorization grant type
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ConnectionUtils.buildAuthorizationUrl(AuthorizationCodeConfiguration authorizationCodeConfig)
Returns a Authorization Url that is constructed from the configuration parameter
|
static List<org.apache.http.NameValuePair> |
ConnectionUtils.getClientCredentials(ConnectionConfiguration connectionConfiguration)
Returns a List of name value pairs consisting of client credentials and
grant type associated to this configuration
|
org.apache.http.impl.client.CloseableHttpClient |
SSLUtils.getHttpsClient(ConnectionConfiguration connectionConfiguration)
Returns an instance of
CloseableHttpClient |
List<org.apache.http.NameValuePair> |
ConnectionUtils.getNameValuePairs(ADPAPIConnection connection)
Returns a List of name value pairs consisting of client credentials, code,
redirect url and grant type associated to this connection
|
private List<org.apache.http.NameValuePair> |
ConnectionUtils.getNameValuePairs(AuthorizationCodeConnection connection)
Returns a List of name value pairs consisting of client credentials, code,
grant type, redirect url associated to this configuration
|
private List<org.apache.http.NameValuePair> |
ConnectionUtils.getNameValuePairs(ClientCredentialsConnection connection)
Returns List
|
Copyright © 2016 ADP LLC. All rights reserved.