public class GpApiSessionInfo extends Object implements IAccessTokenProvider
| Constructor and Description |
|---|
GpApiSessionInfo() |
| Modifier and Type | Method and Description |
|---|---|
static String |
generateSecret(String nonce,
String appKey)
A unique string created using the nonce and app-key.
|
GpApiRequest |
signIn(String appId,
String appKey,
int secondsToExpire,
IntervalToExpire intervalToExpire,
String[] permissions) |
GpApiRequest |
signOut() |
public static String generateSecret(String nonce, String appKey) throws GatewayException
GatewayExceptionpublic GpApiRequest signIn(String appId, String appKey, int secondsToExpire, IntervalToExpire intervalToExpire, String[] permissions) throws GatewayException
signIn in interface IAccessTokenProviderGatewayExceptionpublic GpApiRequest signOut() throws GatewayException
signOut in interface IAccessTokenProviderGatewayExceptionCopyright © 2024. All rights reserved.