示例#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 AuthController(
     IOptionsSnapshot <JwtOptions> jwtConfiguration,
     IGetUserByAccountQuery getUserByAccountQuery,
     IGetInfoFromTokenQuery getInfoFromTokenQuery,
     IChangePasswordCommand changePasswordCommand,
     IForgotPasswordCommand forgotPasswordCommand)
 {
     _jwtConfiguration      = jwtConfiguration;
     _getUserByAccountQuery = getUserByAccountQuery;
     _getInfoFromTokenQuery = getInfoFromTokenQuery;
     _changePasswordCommand = changePasswordCommand;
     _forgotPasswordCommand = forgotPasswordCommand;
 }
示例#3
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;
 }