| Package | Description |
|---|---|
| com.paypal.core.rest | |
| com.paypal.sdk.openidconnect |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
PayPalResource.configureAndExecute(APIContext apiContext,
HttpMethod httpMethod,
String resourcePath,
Map<String,String> headersMap,
String payLoad,
Class<T> clazz)
Deprecated.
|
static <T> T |
PayPalResource.configureAndExecute(APIContext apiContext,
HttpMethod httpMethod,
String resourcePath,
String payLoad,
Class<T> clazz)
Configures and executes REST call: Supports JSON
|
| Modifier and Type | Method and Description |
|---|---|
static Tokeninfo |
Tokeninfo.createFromAuthorizationCode(APIContext apiContext,
CreateFromAuthorizationCodeParameters createFromAuthorizationCodeParameters)
Creates an Access Token from an Authorization Code.
|
static Tokeninfo |
Tokeninfo.createFromAuthorizationCodeForFpp(APIContext apiContext,
CreateFromAuthorizationCodeParameters createFromAuthorizationCodeParameters)
Creates an Access and a Refresh Tokens from an Authorization Code for future payment.
|
Tokeninfo |
Tokeninfo.createFromRefreshToken(APIContext apiContext,
CreateFromRefreshTokenParameters createFromRefreshTokenParameters)
Creates an Access Token from an Refresh Token.
|
static String |
Session.getLogoutUrl(String redirectURI,
String idToken,
APIContext apiContext)
Returns the URL to which the user must be redirected to logout from the
OpenID provider (i.e.
|
static String |
Session.getRedirectURL(String redirectURI,
List<String> scope,
APIContext apiContext)
Returns the PayPal URL to which the user must be redirected to start the
authentication / authorization process.
|
static String |
Session.getRedirectURL(String redirectURI,
List<String> scope,
APIContext apiContext,
ClientCredentials clientCredentials) |
static Userinfo |
Userinfo.getUserinfo(APIContext apiContext,
UserinfoParameters userinfoParameters)
Returns user details
|
Copyright © 2016. All Rights Reserved.