public MyWechatGrantTypeValidator(ILogger <MyWechatGrantTypeValidator> logger, IUserWxLoginService userWxLoginService, IMessagePublisher publisher, IConfiguration configuration, IUserLoginService login) { this._logger = logger; this.userWxLoginService = userWxLoginService; this._publisher = publisher; this._configuration = configuration; this._login = login; }
public WechatController(ILogger <WechatController> logger, IOrderService orderService, IConfiguration configuration, WxPayApi wxPayApi, IUserWxLoginService userWxLoginService, ICacheProvider cacheProvider, ICacheKeyManager cacheKeyManager) { this._logger = logger; this.orderService = orderService; this.configuration = configuration; this.wxPayApi = wxPayApi; this.userWxLoginService = userWxLoginService; this.cacheKeyManager = cacheKeyManager; this.cacheProvider = cacheProvider; }
public UserAccountController( ILogger <UserAccountController> _logger, IUserWxLoginService userWxLoginService, IUserLoginService _login, IConfiguration config, IHttpClientFactory factory, OAuthConfig oAuthConfig) { this._logger = _logger; this.userWxLoginService = userWxLoginService; this._login = _login; this.config = config; this.oAuthConfig = oAuthConfig; this.httpClient = factory.CreateClient("wx_login_"); }