Exemplo n.º 1
0
 public ExternalLoginInteractorTest()
 {
     _authorizationServiceMock        = new Mock <IAuthorizationService>();
     _accountProviderServiceMock      = new Mock <IAccountProviderService>();
     _integrationEventBusMock         = new Mock <IIntegrationEventBus>();
     _authenticationServiceMock       = new Mock <IAuthenticationService>();
     _accountClaimsCreatorServiceMock = new Mock <IAccountClaimsCreatorService>();
     _signInServiceMock       = new Mock <ISignInService>();
     _signOutServiceMock      = new Mock <ISignOutService>();
     _externalLoginInteractor = new ExternalLoginInteractor(_authorizationServiceMock.Object,
                                                            _accountProviderServiceMock.Object, _integrationEventBusMock.Object, _authenticationServiceMock.Object,
                                                            _accountClaimsCreatorServiceMock.Object, _signInServiceMock.Object, _signOutServiceMock.Object);
 }
Exemplo n.º 2
0
 public ExternalLoginController(IExternalLoginInteractor externalLoginInteractor)
 {
     _externalLoginInteractor = externalLoginInteractor;
 }