public MiniProgramsDataSeedContributor( IWeChatAppRepository weChatAppRepository, IGuidGenerator guidGenerator) { _weChatAppRepository = weChatAppRepository; _guidGenerator = guidGenerator; }
public LoginAppService( LoginService loginService, ACodeService aCodeService, SignInManager <IdentityUser> signInManager, IDataFilter dataFilter, IConfiguration configuration, IHttpClientFactory httpClientFactory, IUserInfoRepository userInfoRepository, IWeChatMiniProgramAsyncLocal weChatMiniProgramAsyncLocal, IWeChatAppRepository weChatAppRepository, IWeChatAppUserRepository weChatAppUserRepository, IMiniProgramLoginNewUserCreator miniProgramLoginNewUserCreator, IMiniProgramLoginProviderProvider miniProgramLoginProviderProvider, IDistributedCache <MiniProgramPcLoginAuthorizationCacheItem> pcLoginAuthorizationCache, IDistributedCache <MiniProgramPcLoginUserLimitCacheItem> pcLoginUserLimitCache, IOptions <IdentityOptions> identityOptions, IdentityUserManager identityUserManager) { _loginService = loginService; _aCodeService = aCodeService; _signInManager = signInManager; _dataFilter = dataFilter; _configuration = configuration; _httpClientFactory = httpClientFactory; _userInfoRepository = userInfoRepository; _weChatMiniProgramAsyncLocal = weChatMiniProgramAsyncLocal; _weChatAppRepository = weChatAppRepository; _weChatAppUserRepository = weChatAppUserRepository; _miniProgramLoginNewUserCreator = miniProgramLoginNewUserCreator; _miniProgramLoginProviderProvider = miniProgramLoginProviderProvider; _pcLoginAuthorizationCache = pcLoginAuthorizationCache; _pcLoginUserLimitCache = pcLoginUserLimitCache; _identityOptions = identityOptions; _identityUserManager = identityUserManager; }
public WeChatMiniProgramGrantValidator( IMiniProgramLoginProviderProvider miniProgramLoginProviderProvider, IWeChatAppRepository weChatAppRepository, IOptions <IdentityOptions> identityOptions, IdentityUserManager identityUserManager) { _miniProgramLoginProviderProvider = miniProgramLoginProviderProvider; _weChatAppRepository = weChatAppRepository; _identityOptions = identityOptions; _identityUserManager = identityUserManager; }
public ProfileAppService( LoginService loginService, IOptions <IdentityOptions> identityOptions, IdentityUserManager identityUserManager, IJsonSerializer jsonSerializer, IWeChatAppRepository weChatAppRepository) { _loginService = loginService; _identityOptions = identityOptions; _identityUserManager = identityUserManager; _jsonSerializer = jsonSerializer; _weChatAppRepository = weChatAppRepository; }
public WeChatAppRepositoryTests() { _weChatAppRepository = GetRequiredService <IWeChatAppRepository>(); }
public WeChatAppAppService(IWeChatAppRepository repository) : base(repository) { _repository = repository; }
public static Task <WeChatApp> GetMiniProgramAppAsync(this IWeChatAppRepository weChatAppRepository, Guid id) { return(weChatAppRepository.GetAsync(x => x.Id == id && x.Type == WeChatAppType.MiniProgram)); }
public static Task <WeChatApp> FindMiniProgramAppByNameAsync(this IWeChatAppRepository weChatAppRepository, [NotNull] string name) { return(weChatAppRepository.FindAsync(x => x.Name == name && x.Type == WeChatAppType.MiniProgram)); }
public static Task <WeChatApp> FindMiniProgramAppByAppIdAsync(this IWeChatAppRepository weChatAppRepository, [NotNull] string appId) { return(weChatAppRepository.FindAsync(x => x.AppId == appId && x.Type == WeChatAppType.MiniProgram)); }
public CorpAppService(IApplicationConfigService configService, IWeChatAppRepository repository) { _configService = configService; _repository = repository; }