Пример #1
0
 public DBankClient(OAuthConsumer consumer, OAuthToken token, bool isRoot)
     : base(consumer)
 {
 }
Пример #2
0
        private KuaipanClient CreateClient()
        {
            if (_MPwd == null)
            {
                _MPwd = _DataModel.ReadMPwd();
            }
            OAuthConsumer consumer = new OAuthConsumer();
            consumer.consumer_key = "xcLegJ8HLq7ZoQ0U";
            consumer.consumer_secret = "psaBwFH0Z0r2PEPI";

            OAuthTokenV1 token = new OAuthTokenV1();
            token.oauth_token = _MPwd.CsAuth;
            KuaipanClient client = new KuaipanClient(consumer, token, false);
            return client;
        }