Exemple #1
0
 public PersistedGrantStore(IPersistentGrantRepository persistentGrantRepository,
                            IObjectMapper <AbpIdentityServerDomainModule> objectMapper, IGuidGenerator guidGenerator)
 {
     PersistentGrantRepository = persistentGrantRepository;
     ObjectMapper  = objectMapper;
     GuidGenerator = guidGenerator;
 }
Exemple #2
0
 public TokenCleanupService(
     IPersistentGrantRepository persistentGrantRepository,
     IDeviceFlowCodesRepository deviceFlowCodesRepository,
     IOptions <TokenCleanupOptions> options)
 {
     PersistentGrantRepository = persistentGrantRepository;
     DeviceFlowCodesRepository = deviceFlowCodesRepository;
     Options = options.Value;
 }
 public AbpIdentityServerTestDataBuilder(
     IClientRepository clientRepository,
     IGuidGenerator guidGenerator,
     IPersistentGrantRepository persistentGrantRepository,
     IApiResourceRepository apiResourceRepository,
     IIdentityResourceRepository identityResourceRepository)
 {
     _clientRepository           = clientRepository;
     _guidGenerator              = guidGenerator;
     _persistentGrantRepository  = persistentGrantRepository;
     _apiResourceRepository      = apiResourceRepository;
     _identityResourceRepository = identityResourceRepository;
 }
Exemple #4
0
 public AbpIdentityServerTestDataBuilder(
     IGuidGenerator guidGenerator,
     IApiResourceRepository apiResourceRepository,
     IClientRepository clientRepository,
     IIdentityResourceRepository identityResourceRepository,
     IIdentityClaimTypeRepository identityClaimTypeRepository,
     AbpIdentityServerTestData testData,
     IPersistentGrantRepository persistentGrantRepository,
     IDeviceFlowCodesRepository deviceFlowCodesRepository,
     IClock clock)
 {
     _testData                    = testData;
     _guidGenerator               = guidGenerator;
     _apiResourceRepository       = apiResourceRepository;
     _clientRepository            = clientRepository;
     _identityResourceRepository  = identityResourceRepository;
     _identityClaimTypeRepository = identityClaimTypeRepository;
     _persistentGrantRepository   = persistentGrantRepository;
     _clock = clock;
     _deviceFlowCodesRepository = deviceFlowCodesRepository;
 }
Exemple #5
0
 public PersistedGrantAppService(IPersistentGrantRepository repository) : base((IReadOnlyRepository <PersistedGrant, Guid>)repository)
 {
     _repository = repository;
 }
 public PersistedGrantStore(IPersistentGrantRepository persistentGrantRepository, IObjectMapper objectMapper, IGuidGenerator guidGenerator)
 {
     _persistentGrantRepository = persistentGrantRepository;
     _objectMapper  = objectMapper;
     _guidGenerator = guidGenerator;
 }
Exemple #7
0
 public TokenCleanupService_Tests()
 {
     _persistentGrantRepository = GetRequiredService <IPersistentGrantRepository>();
     _deviceFlowCodesRepository = GetRequiredService <IDeviceFlowCodesRepository>();
     _tokenCleanupService       = GetRequiredService <TokenCleanupService>();
 }
 public PersistentGrantService(IPersistentGrantRepository persistentGrantRepository, IPersistedGrantStore persistedGrantStore)
 {
     PersistentGrantRepository = persistentGrantRepository;
 }
 protected PersistentGrantRepository_Tests()
 {
     _persistentGrantRepository = GetRequiredService <IPersistentGrantRepository>();
 }
 public PersistedGrantAppService(
     IPersistentGrantRepository persistentGrantRepository)
 {
     PersistentGrantRepository = persistentGrantRepository;
 }