| Package | Description |
|---|---|
| jp.gopay.sdk | |
| jp.gopay.sdk.models.common.auth | |
| jp.gopay.sdk.settings | |
| jp.gopay.sdk.utils |
| Modifier and Type | Field | Description |
|---|---|---|
protected AuthStrategy |
AbstractSDK.authStrategy |
| Modifier and Type | Method | Description |
|---|---|---|
GoPaySDK |
GoPaySDK.copy(AuthStrategy authStrategy) |
|
T |
SDKMethods.copy(AuthStrategy authStrategy) |
Create a new instance of the client with a new authentication strategy, but keeping the same SDK settings.
|
static GoPaySDK |
GoPaySDK.create(AuthStrategy authStrategy) |
Create a GoPaySDK instance with default settings using an authentication strategy.
|
static GoPaySDK |
GoPaySDK.create(AuthStrategy authStrategy,
AbstractSDKSettings settings) |
Create a GoPaySDK instance using an authentication strategy.
|
| Constructor | Description |
|---|---|
AbstractSDK(AuthStrategy authStrategy,
AbstractSDKSettings settings) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
AppJWTStrategy |
|
class |
AppTokenStrategy |
Authentication strategy that allows a merchant to make requests using an application token and an optional secret.
|
class |
LoginJWTStrategy |
Authentication strategy that allows a merchant to make requests using a JWT (Json Web Token).
|
class |
LoginTokenStrategy |
Authentication strategy that allows a merchant to make requests using a login token.
|
class |
UnauthenticatedStrategy |
Utility strategy that is used when making requests without providing credentials.
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract okhttp3.OkHttpClient |
AbstractSDKSettings.getClient(AuthStrategy authStrategy) |
|
okhttp3.OkHttpClient |
GoPaySettings.getClient(AuthStrategy authStrategy) |
| Modifier and Type | Method | Description |
|---|---|---|
static retrofit2.Retrofit |
RequestUtils.createClient(AuthStrategy authStrategy,
AbstractSDKSettings settings) |
|
static okhttp3.OkHttpClient.Builder |
GoPayClient.getDefaultClientBuilder(AuthStrategy authStrategy,
AbstractSDKSettings settings) |
Copyright © 2018 The Apache Software Foundation. All rights reserved.