public DefaultAccessTokenAccessor( IAccessTokenProvider accessTokenProvider, IWeChatOfficialOptionsResolver weChatOfficialOptionsResolver) { _accessTokenProvider = accessTokenProvider; _weChatOfficialOptionsResolver = weChatOfficialOptionsResolver; }
public DefaultAccessTokenAccessor(IDistributedCache <string> distributedCache, IHttpClientFactory httpClientFactory, IWeChatOfficialOptionsResolver weChatOfficialOptionsResolver) { DistributedCache = distributedCache; HttpClientFactory = httpClientFactory; WeChatOfficialOptionsResolver = weChatOfficialOptionsResolver; }
public WeChatController(SignatureChecker signatureChecker, IHttpClientFactory httpClientFactory, IJsTicketAccessor jsTicketAccessor, ISignatureGenerator signatureGenerator, IWeChatOfficialOptionsResolver optionsResolver) { _signatureChecker = signatureChecker; _httpClientFactory = httpClientFactory; _jsTicketAccessor = jsTicketAccessor; _signatureGenerator = signatureGenerator; _optionsResolver = optionsResolver; }
public LoginService(IWeChatOfficialOptionsResolver optionsResolver) { _optionsResolver = optionsResolver; }