示例#1
0
 public AccountRegistrationController(IUserMongoDBService oauthUserServices,
                                      IIdentityServerInteractionService interaction,
                                      IQeueMessageServices qeueMessageServices)
 {
     _oauthUserServices   = oauthUserServices;
     _interaction         = interaction;
     _qeueMessageServices = qeueMessageServices;
 }
 public AccountController(
     IIdentityServerInteractionService interaction,
     IClientStore clientStore,
     IHttpContextAccessor httpContextAccessor,
     IAuthenticationSchemeProvider schemeProvider,
     IEventService events,
     IUserMongoDBService users,
     ILogger <AccountController> logger,
     IUserService userService)
 {
     // if the TestUserStore is not in DI, then we'll just use the global users collection
     _usersOAuthServe = users;
     _interaction     = interaction;
     _events          = events;
     _account         = new AccountService(interaction, httpContextAccessor, schemeProvider, clientStore);
     _logger          = logger;
     _userService     = userService;
 }
 public MongoDBUserResourceOwnerPasswordValidator(IUserMongoDBService users)
 {
     _users = users;
 }
示例#4
0
 public MongoDBUserProfileService(IUserMongoDBService userMongoDBService,
                                  ILogger <MongoDBUserProfileService> logger)
 {
     _userMongoDBService = userMongoDBService;
     _logger             = logger;
 }