Package com.securenative
Class SecureNative
- java.lang.Object
-
- com.securenative.SecureNative
-
- All Implemented Interfaces:
ApiManager
public class SecureNative extends java.lang.Object implements ApiManager
-
-
Method Summary
Modifier and Type Method Description static SecureNativeConfigurationBuilderconfigBuilder()static SecureNativeContextBuildercontextBuilder()static SecureNativegetInstance()SecureNativeOptionsgetOptions()static SecureNativeinit()static SecureNativeinit(SecureNativeOptions options)static SecureNativeinit(java.lang.String apiKey)voidtrack(EventOptions eventOptions)VerifyResultverify(EventOptions eventOptions)booleanverifyRequestPayload(javax.servlet.http.HttpServletRequest request)
-
-
-
Field Detail
-
logger
public static final Logger logger
-
-
Method Detail
-
init
public static SecureNative init(SecureNativeOptions options) throws SecureNativeSDKException
- Throws:
SecureNativeSDKException
-
init
public static SecureNative init(java.lang.String apiKey) throws SecureNativeSDKException, SecureNativeConfigException
-
init
public static SecureNative init() throws SecureNativeSDKException, SecureNativeConfigException
-
getInstance
public static SecureNative getInstance() throws SecureNativeSDKIllegalStateException
-
getOptions
public SecureNativeOptions getOptions()
-
configBuilder
public static SecureNativeConfigurationBuilder configBuilder()
-
contextBuilder
public static SecureNativeContextBuilder contextBuilder()
-
verifyRequestPayload
public boolean verifyRequestPayload(javax.servlet.http.HttpServletRequest request) throws java.io.IOException- Throws:
java.io.IOException
-
track
public void track(EventOptions eventOptions)
- Specified by:
trackin interfaceApiManager
-
verify
public VerifyResult verify(EventOptions eventOptions)
- Specified by:
verifyin interfaceApiManager
-
-