private Intent CreateInteractiveBrokerIntent(BrokerRequest brokerRequest, Intent brokerIntent) { _brokerHelper.ValidateBrokerRedirectUri(brokerRequest); string brokerRequestJson = JsonHelper.SerializeToJson(brokerRequest); _logger.InfoPii("[Android broker] GetInteractiveBrokerIntent: " + brokerRequestJson, "Enable PII to see the broker request. "); brokerIntent.PutExtra(BrokerConstants.BrokerRequestV2, brokerRequestJson); return(brokerIntent); }
private Bundle CreateInteractiveBrokerBundle(BrokerRequest brokerRequest) { _brokerHelper.ValidateBrokerRedirectUri(brokerRequest); Bundle bundle = new Bundle(); string brokerRequestJson = JsonHelper.SerializeToJson(brokerRequest); bundle.PutString(BrokerConstants.BrokerRequestV2, brokerRequestJson); bundle.PutInt(BrokerConstants.CallerInfoUID, Binder.CallingUid); _logger.InfoPii("[Android broker] GetInteractiveBrokerBundle: " + brokerRequestJson, "Enable PII to see the broker request. "); return(bundle); }