/// <summary>
 /// Initializes a new instance of the <see cref="Neo4jResourceStore"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="logger">The logger.</param>
 /// <exception cref="ArgumentNullException">context</exception>
 public Neo4jResourceStore(IdentityServerDriverProvider context, ILogger <Neo4jResourceStore> logger)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _logger  = logger;
 }
Esempio n. 2
0
        public StoresTests(Neo4jFixture fixture)
        {
            Fixture = fixture;

            Provider = Fixture.GetService <IdentityServerDriverProvider>();
        }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Neo4jPersistedGrantStore"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="logger">The logger.</param>
 public Neo4jPersistedGrantStore(IdentityServerDriverProvider context, ILogger <Neo4jPersistedGrantStore> logger)
 {
     _context = context;
     _logger  = logger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CorsPolicyService"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="logger">The logger.</param>
 /// <exception cref="ArgumentNullException">context</exception>
 public Neo4jCorsPolicyService(IdentityServerDriverProvider context, ILogger <Neo4jCorsPolicyService> logger)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _logger  = logger;
 }