Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DeviceFlowStore"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="serializer">The serializer</param>
 /// <param name="logger">The logger.</param>
 public DeviceFlowStore(
     IDPDbContext context,
     IPersistentGrantSerializer serializer,
     ILogger <DeviceFlowStore> logger)
 {
     Context    = context;
     Serializer = serializer;
     Logger     = logger;
 }
Exemplo n.º 2
0
 public LocalUserService(
     IDPDbContext context,
     IPasswordHasher <MUser> passwordHasher,
     DataEventDispatcher eventDispatcher,
     IMapper mapper)
 {
     EventDispatcher = eventDispatcher;
     _context        = context
                       ?? throw new ArgumentNullException(nameof(context));
     _passwordHasher = passwordHasher
                       ?? throw new ArgumentNullException(nameof(passwordHasher));
     _mapper = mapper;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PersistedGrantStore"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="logger">The logger.</param>
 public PersistedGrantStore(IDPDbContext context, ILogger <PersistedGrantStore> logger)
 {
     Context = context;
     Logger  = logger;
 }
Exemplo n.º 4
0
 public UserConsentStore(IDPDbContext dbContext)
 {
     DbContext = dbContext;
 }
Exemplo n.º 5
0
 public ApiResourcesService(IDPDbContext dbContext, IMapper mapper, DataEventDispatcher eventDispatcher)
 {
     _mapper         = mapper;
     DbContext       = dbContext;
     EventDispatcher = eventDispatcher;
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ResourceStore"/> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="logger">The logger.</param>
 /// <exception cref="ArgumentNullException">context</exception>
 public ResourceStore(IDPDbContext context, ILogger <ResourceStore> logger)
 {
     Context = context ?? throw new ArgumentNullException(nameof(context));
     Logger  = logger;
 }
Exemplo n.º 7
0
 public MCorsPolicyService(IDPDbContext dbContext)
 {
     DbContext = dbContext;
 }
Exemplo n.º 8
0
 public ClientService(IDPDbContext dbContext, IMapper mapper, DataEventDispatcher eventDispatcher)
 {
     _mapper         = mapper;
     DbContext       = dbContext;
     EventDispatcher = eventDispatcher;
 }
Exemplo n.º 9
0
 public DefaultResourcesManager(IDPDbContext dbContext, IdpConfiguration idpConfiguration)
 {
     _idpConfiguration = idpConfiguration;
     DbContext         = dbContext;
 }
Exemplo n.º 10
0
 public AuthenticationProviderService(IDPDbContext dbContext, IMapper mapper, DataEventDispatcher eventDispatcher)
 {
     _mapper         = mapper;
     DbContext       = dbContext;
     EventDispatcher = eventDispatcher;
 }