public class SecureNative extends Object implements ApiManager
| Modifier and Type | Method and Description |
|---|---|
static SecureNativeConfigurationBuilder |
configBuilder() |
static SecureNativeContextBuilder |
contextBuilder() |
SecureNativeContextBuilder |
fromHttpServletRequest(javax.servlet.http.HttpServletRequest request) |
static SecureNative |
getInstance() |
SecureNativeOptions |
getOptions() |
static SecureNative |
init() |
static SecureNative |
init(Path path) |
static SecureNative |
init(SecureNativeOptions options) |
static SecureNative |
init(String apiKey) |
void |
track(EventOptions eventOptions) |
VerifyResult |
verify(EventOptions eventOptions) |
boolean |
verifyRequestPayload(javax.servlet.http.HttpServletRequest request) |
public static final Logger logger
public static SecureNative init(SecureNativeOptions options) throws SecureNativeSDKException
SecureNativeSDKExceptionpublic static SecureNative init(String apiKey) throws SecureNativeSDKException, SecureNativeConfigException
public static SecureNative init() throws SecureNativeSDKException, SecureNativeConfigException
public static SecureNative init(Path path) throws SecureNativeSDKException, SecureNativeConfigException
public static SecureNative getInstance() throws SecureNativeSDKIllegalStateException
public SecureNativeOptions getOptions()
public static SecureNativeConfigurationBuilder configBuilder()
public static SecureNativeContextBuilder contextBuilder()
public SecureNativeContextBuilder fromHttpServletRequest(javax.servlet.http.HttpServletRequest request)
public boolean verifyRequestPayload(javax.servlet.http.HttpServletRequest request)
throws IOException
IOExceptionpublic void track(EventOptions eventOptions) throws SecureNativeInvalidOptionsException
track in interface ApiManagerSecureNativeInvalidOptionsExceptionpublic VerifyResult verify(EventOptions eventOptions) throws SecureNativeInvalidOptionsException
verify in interface ApiManagerSecureNativeInvalidOptionsExceptionCopyright © 2020. All rights reserved.