| Package | Description |
|---|---|
| com.paypal.core | |
| com.paypal.core.nvp | |
| com.paypal.core.soap | |
| com.paypal.sdk.util |
| Modifier and Type | Method and Description |
|---|---|
protected String |
BaseService.call(APICallPreHandler apiCallPrehandler)
Calls the APIService with the corresponding
APICallPreHandler |
Map<String,String> |
AbstractCertificateHttpHeaderAuthStrategy.generateHeaderStrategy(CertificateCredential credential)
Returns
CertificateCredential as HTTP headers |
Map<String,String> |
AbstractSignatureHttpHeaderAuthStrategy.generateHeaderStrategy(SignatureCredential credential)
Returns
CertificateCredential as HTTP headers |
Map<String,String> |
APICallPreHandler.getHeaderMap()
Returns headers for HTTP call
|
String |
APIService.makeRequestUsing(APICallPreHandler apiCallPreHandler)
Makes a request to API service
|
protected abstract Map<String,String> |
AbstractCertificateHttpHeaderAuthStrategy.processTokenAuthorization(CertificateCredential credential,
TokenAuthorization tokenAuth)
Process TokenAuthorization based on API format
|
protected abstract Map<String,String> |
AbstractSignatureHttpHeaderAuthStrategy.processTokenAuthorization(SignatureCredential credential,
TokenAuthorization tokenAuth)
Process TokenAuthorization based on API format
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
PlatformAPICallPreHandler.getHeaderMap() |
protected Map<String,String> |
CertificateHttpHeaderAuthStrategy.processTokenAuthorization(CertificateCredential credential,
TokenAuthorization tokenAuth)
Processing for
TokenAuthorization under
CertificateCredential |
protected Map<String,String> |
SignatureHttpHeaderAuthStrategy.processTokenAuthorization(SignatureCredential sigCred,
TokenAuthorization tokenAuth)
Processing for
TokenAuthorization under
SignatureCredential |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
MerchantAPICallPreHandler.getHeaderMap() |
protected Map<String,String> |
CertificateHttpHeaderAuthStrategy.processTokenAuthorization(CertificateCredential credential,
TokenAuthorization tokenAuth)
Processing for
TokenAuthorization under
CertificateCredential |
protected Map<String,String> |
SignatureHttpHeaderAuthStrategy.processTokenAuthorization(SignatureCredential sigCred,
TokenAuthorization tokenAuth)
Processing for
TokenAuthorization under
SignatureCredential |
| Modifier and Type | Method and Description |
|---|---|
String |
OAuthSignature.computeV1Signature()
Computes OAuth Signature as per OAuth specification using signature
Method.
|
static Map |
OAuthSignature.getAuthHeader(String apiUserName,
String apiPassword,
String accessToken,
String tokenSecret,
OAuthSignature.HTTPMethod httpMethod,
String scriptURI,
Map queryParams)
Accepts the required parameters and Provides OAuth signature and
TimeStamp.
|
static String |
OAuthSignature.getFullAuthString(String apiUserName,
String apiPassword,
String accessToken,
String tokenSecret,
OAuthSignature.HTTPMethod httpMethod,
String scriptURI,
Map queryParams)
Computes the value of the X_PP_AUTHORIZATION header
|
void |
OAuthSignature.setRequestURI(String uri)
Sets URI for signature computation.
|
boolean |
OAuthSignature.verifyV1Signature(String signature)
verifyV1Signature verifies signature against computed signature.
|
Copyright © 2016. All Rights Reserved.