예제 #1
0
 public SignUpHandler(ISignUpValidator validator, IPasswordsService passwordService,
                      IMongoRepository <IdentityDocument, Guid> repository)
 {
     _validator       = validator;
     _passwordService = passwordService;
     _repository      = repository;
 }
예제 #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;
 }
예제 #3
0
 public ChangePasswordHandler(IMongoRepository <IdentityDocument, Guid> repository, IPasswordsService passwordsService)
 {
     _repository       = repository;
     _passwordsService = passwordsService;
 }