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; }
public AccountController(ApplicationContext db, ILoginQuery loginQuery, IRegisterCommand registerCommand, IForgetPasswordCommand forgetPasswordCommand, IActiveAccountCommand activeAccountCommand, IUpdateProfileCommand updateProfileCommand, IChangePasswordCommand changePasswordCommand, IGetNewPasswordCommand getNewPasswordCommand) { this.db = db; this.loginQuery = loginQuery; this.registerCommand = registerCommand; this.forgetPasswordCommand = forgetPasswordCommand; this.activeAccountCommand = activeAccountCommand; this.updateProfileCommand = updateProfileCommand; this.changePasswordCommand = changePasswordCommand; this.getNewPasswordCommand = getNewPasswordCommand; }
public AuthController( IOptionsSnapshot <JwtOptions> jwtConfiguration, IGetUserByAccountQuery getUserByAccountQuery, IGetInfoFromTokenQuery getInfoFromTokenQuery, IChangePasswordCommand changePasswordCommand, IForgotPasswordCommand forgotPasswordCommand) { _jwtConfiguration = jwtConfiguration; _getUserByAccountQuery = getUserByAccountQuery; _getInfoFromTokenQuery = getInfoFromTokenQuery; _changePasswordCommand = changePasswordCommand; _forgotPasswordCommand = forgotPasswordCommand; }
public AccountController( IOptionsSnapshot <JwtOptions> jwtConfiguration, ISaveCustomerCommand saveCustomerCommand, IGetUserByAccountQuery getUserByAccountQuery, IChangePasswordCommand changePasswordCommand, IGetCustomerInfoFromAccessTokenQuery getCustomerInfoFromAccessTokenQuery, IGetCustomerByAccountQuery getCustomerByAccountQuery) { _jwtConfiguration = jwtConfiguration; _saveCustomerCommand = saveCustomerCommand; _getUserByAccountQuery = getUserByAccountQuery; _changePasswordCommand = changePasswordCommand; _getCustomerInfoFromAccessTokenQuery = getCustomerInfoFromAccessTokenQuery; _getCustomerByAccountQuery = getCustomerByAccountQuery; }