Пример #1
0
 public static string GetOpenEcpB2bManagerAddressUrl(object userId, string urladdress = "")
 {
     if (string.IsNullOrEmpty(urladdress))
     {
         urladdress = ApiSdkClient_Config.EcpB2bManagerOpenDomainAddress();
     }
     urladdress = GetOpenPath(userId, urladdress);
     return(urladdress);
 }
Пример #2
0
        public void InitCurrentToKen()
        {
            var userName = ApiSdkClient_Config.GetUserUniqueFunc();

            token = TokenCache.GetAccessToKen(userName.DBToString());
        }
Пример #3
0
 /// <summary>
 /// 在客户端创建SecretDesEncryptHelper对象
 /// </summary>
 /// <returns></returns>
 public static SecretDesEncryptHelper CreateClientCurrentObject()
 {
     return(new SecretDesEncryptHelper(new SecretBuilderConfig(SecretConfigSource.PublicOpen, ApiSdkClient_Config.ClientSecretKey())));
 }