public LocalLoginInteractorTest() { _authorizationServiceMock = new Mock <IAuthorizationService>(); _clientRepositoryMock = new Mock <IClientRepository>(); _accountGetterServiceMock = new Mock <IAccountGetterService>(); _accountVerificationServiceMock = new Mock <IAccountVerificationService>(); _schemeServiceMock = new Mock <ISchemeService>(); _accountClaimsCreatorServiceMock = new Mock <IAccountClaimsCreatorService>(); _signInServiceMock = new Mock <ISignInService>(); _localLoginInteractor = new LocalLoginInteractor(_authorizationServiceMock.Object, _clientRepositoryMock.Object, _accountGetterServiceMock.Object, _accountVerificationServiceMock.Object, _schemeServiceMock.Object, _accountClaimsCreatorServiceMock.Object, _signInServiceMock.Object); }
public LocalLoginController(ILocalLoginInteractor localLoginInteractor, IOptions <ApplicationUrlsAppSettings> applicationUrlsOptions) { _localLoginInteractor = localLoginInteractor; _applicationUrlsAppSettings = applicationUrlsOptions.Value; }