void RootCheck(JudoFailureCallback failure)
 {
     if (!AllowRooted && JudoShield.IsiOSRooted())
     {
         failure(new JudoError()
         {
             Exception = new Exception("Users Device is rooted and app is configured to block calls from rooted Device"),
             ApiError  = null
         });
     }
 }
        public JObject GetClientDetails()
        {
            if (!JudoSDKManager.Instance.RiskSignals)
            {
                return(null);
            }

            var clientDetails = new ClientDetails {
                OS                = "iOS " + UIDevice.CurrentDevice.SystemVersion,
                DeviceId          = GetDeviceMacAddress(),
                DeviceModel       = UIDevice.CurrentDevice.Model,
                Serial            = JudoShield.GetDeviceIdentifier(),
                CultureLocale     = NSLocale.CurrentLocale.CountryCode,
                SslPinningEnabled = JudoSDKManager.Instance.SSLPinningEnabled
            };


            return(JObject.FromObject(clientDetails));
        }