Class WL.Trusteer
WL.Trusteer
- Description:
- This class allows access to risk-assessment data that is generated by Trusteer.
To use this class, the Trusteer Mobile SDK must first be installed and integrated with your MobileFirst project.
Method Attributes | Method Name and Description |
---|---|
getRiskAssessment(onSuccess, onFailure)
Returns Trusteer risk-assessment data.
|
|
init(onSuccess, onFailure)
Optional.
|
- Parameters:
- onSuccess - - A callback function that is called when risk-assessment data is available from the Trusteer Mobile SDK.
- onFailure - - A callback function that is called when risk-assessment data is not available from the Trusteer Mobile SDK (for example, because the SDK is not installed or initialized).
- Returns:
- Trusteer risk assessment data in JSON format:
{ "plat.android.dumpsys":{"value":0,"additionalData":"","lastCalculated":1411295111000,"name":"plat.android.dumpsys"}, "os.ver_up_to_date":{"value":0,"additionalData":"","lastCalculated":1411295111000,"name":"os.ver_up_to_date"}, "device_key":"BEFAFED62456EECC7B5F0E120318EADF85625CD979CF1A9125BF6FF3F7CFB801", "os.rooted.native":{"value":1000,"additionalData":"","lastCalculated":1411295111000,"name":"os.rooted.native"}, "network.wifi":{"value":0,"additionalData":"status: OFF","lastCalculated":0,"name":"network.wifi"}, "os.rooted.hiders":{"value":0,"additionalData":"","lastCalculated":1411295111000,"name":"os.rooted.hiders"}, "plat.android.apprestrict":{"value":1000,"additionalData":"","lastCalculated":1411295111000,"name":"plat.android.apprestrict"}, "os.rooted":{"value":1000,"additionalData":"","lastCalculated":1411295111000,"name":"os.rooted"}, "total.risk.generic":{"value":600,"additionalData":"","lastCalculated":1411295111000,"name":"total.risk.generic"}, "tas.config_update":{"value":0,"additionalData":"","lastCalculated":1411295111000,"name":"tas.config_update"}, "malware.any":{"value":0,"additionalData":"","lastCalculated":1411295111000,"name":"malware.any"} }
For more information, see the Trusteer Mobile SDK documentation.
Note: This method is applicable only when automatic initialization of the Trusteer Mobile SDK is disabled by setting the TRUSTEER_AUTO_INIT property to FALSE in the client properties file (worklight.plist for iOS or client.properties for Android).
- Parameters:
- onSuccess - - A callback function that is called when the Trusteer Mobile SDK is installed and initialized.
- onFailure - - A callback function that is called when the Trusteer Mobile SDK fails to initialize or is not installed.