Пример #1
0
 public IdentityApplicationService(
     ITransactionManager transactionManager,
     IResetPasswordCommand resetPasswordCommand,
     ICommandRepository <Identity> identityCommandRepository,
     ICommandRepository <AuthenticationService> authenticationServiceCommandRepository,
     IQueryRepository <Identity> identityQueryRepository,
     IChangePasswordCommand changePasswordCommand,
     IRegisterPasswordCommand registerPasswordCommand,
     ICreateIdentityCommand createIdentityCommand,
     IForgotPasswordCommand forgotPasswordCommand,
     IConfirmIdentityCommand confirmIdentityCommand,
     ICreateRefreshTokenCommand createRefreshTokenCommand,
     IResendConfirmIdentityCommand resendConfirmIdentityCommand,
     ILogoutCommand logoutCommand)
 {
     _transactionManager        = transactionManager;
     _resetPasswordCommand      = resetPasswordCommand;
     _identityCommandRepository = identityCommandRepository;
     _authenticationServiceCommandRepository = authenticationServiceCommandRepository;
     _identityQueryRepository      = identityQueryRepository;
     _changePasswordCommand        = changePasswordCommand;
     _registerPasswordCommand      = registerPasswordCommand;
     _createIdentityCommand        = createIdentityCommand;
     _forgotPasswordCommand        = forgotPasswordCommand;
     _confirmIdentityCommand       = confirmIdentityCommand;
     _createRefreshTokenCommand    = createRefreshTokenCommand;
     _logoutCommand                = logoutCommand;
     _resendConfirmIdentityCommand = resendConfirmIdentityCommand;
 }
Пример #2
0
 public CreateAdminAuthenticationIdentityKernalService(
     ITransactionManager transactionManager,
     ICreateIdentityCommand createIdentityCommand,
     ICommandRepository <Identity> commandRepository,
     IRegisterPasswordCommand registerPasswordCommand,
     ICommandRepository <AuthenticationService> authenticationServiceCommandRepository,
     IForgotPasswordCommand forgotPasswordCommand,
     ILogger <CreateAdminAuthenticationIdentityKernalService> logger)
 {
     _transactionManager      = transactionManager;
     _createIdentityCommand   = createIdentityCommand;
     _commandRepository       = commandRepository;
     _registerPasswordCommand = registerPasswordCommand;
     _authenticationServiceCommandRepository = authenticationServiceCommandRepository;
     _forgotPasswordCommand = forgotPasswordCommand;
     _logger = logger;
 }