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 AuthenticationController(IAuthenticateUserCommand authenticateUserCommand, IAuthenticationManager authenticationManager, ISetPasswordCommand setPasswordCommand, IResetPasswordCommand resetPasswordCommand, ICreateOrganisationCommand createOrganisationCommand, ICookieManager cookieManager, IImpersonationManager impersonationManager) { _authenticateUserCommand = authenticateUserCommand; _authenticationManager = authenticationManager; _setPasswordCommand = setPasswordCommand; _resetPasswordCommand = resetPasswordCommand; _createOrganisationCommand = createOrganisationCommand; _cookieManager = cookieManager; _impersonationManager = impersonationManager; }