Example #1
0
 public SignUpHandler(ISignUpValidator validator, IPasswordsService passwordService,
                      IMongoRepository <IdentityDocument, Guid> repository)
 {
     _validator       = validator;
     _passwordService = passwordService;
     _repository      = repository;
 }
Example #2
0
 public SignInHandler(IPasswordsService passwordService, IAuthTokensService authTokensService,
                      IRefreshTokensService refreshTokensService, IAuthTokensCache cache, IMongoRepository <IdentityDocument, Guid> repository)
 {
     _passwordService      = passwordService;
     _authTokensService    = authTokensService;
     _repository           = repository;
     _cache                = cache;
     _refreshTokensService = refreshTokensService;
 }
Example #3
0
 public ChangePasswordHandler(IMongoRepository <IdentityDocument, Guid> repository, IPasswordsService passwordsService)
 {
     _repository       = repository;
     _passwordsService = passwordsService;
 }