java.lang.Object | |
↳ | com.paypal.paypalretailsdk.SdkCredential |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | liveService | ||||||||||
String | sandboxService | ||||||||||
String | stageService |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SdkCredential(String environment, String accessToken, String softwareRepository)
Build SDK Credentials
| |||||||||||
SdkCredential(String environment, String accessToken)
Build SDK Credentials
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SdkCredential |
setTokenRefreshCredentials(String refreshUrl)
URL to refresh an expired access token.
| ||||||||||
SdkCredential |
setTokenRefreshCredentials(String refreshToken, String clientId, String clientSecret)
Provide credentials to refresh an expired access token using refresh token and client Id & secret
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Build SDK Credentials
environment | Executing environment for the SDK e.g. live, sandbox, stage2d0065, etc. |
---|---|
accessToken | Access token for authentication |
Build SDK Credentials
environment | Executing environment for the SDK e.g. live, sandbox, stage2d0065, etc. |
---|---|
accessToken | Access token for authentication |
URL to refresh an expired access token. The JSON response must contain the access token set to access_token property
Provide credentials to refresh an expired access token using refresh token and client Id & secret