コード例 #1
0
        /// <summary>
        /// Method returns true if we use different from LykkeWallet credentials else returns false
        /// </summary>
        public async Task <bool> UsePartnerCredentials(string partnerPublicId)
        {
            bool usePartnerCredentials = false;

            if (!string.IsNullOrEmpty(partnerPublicId))
            {
                var policy = await _clientAccountService.GetPartnerAccountPolicyAsync(partnerPublicId);

                usePartnerCredentials = policy?.UseDifferentCredentials ?? false;
            }

            return(usePartnerCredentials);
        }