1234567891011121314151617181920 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace Dfs.WayneChina.SpsDataCourier
- {
- public class AuthenticationParameter
- {
- public AuthenticationParameter(string grantType, string userName, string password)
- {
- Params.Clear();
- Params.Add("grant_type", grantType);
- Params.Add("username", userName);
- Params.Add("password", password);
- }
- public Dictionary<string, string> Params { get; } = new Dictionary<string, string>();
- }
- }
|