Esempio n. 1
0
 public LoggedOutInteractorTest()
 {
     _logoutServiceMock            = new Mock <ILogoutService>();
     _persistedGrantRepositoryMock = new Mock <IPersistedGrantRepository>();
     _claimsPrincipalServiceMock   = new Mock <IClaimsPrincipalService>();
     _signOutServiceMock           = new Mock <ISignOutService>();
     _schemeServiceMock            = new Mock <ISchemeService>();
     _interactor = new LoggedOutInteractor(_logoutServiceMock.Object, _persistedGrantRepositoryMock.Object,
                                           _claimsPrincipalServiceMock.Object, _signOutServiceMock.Object, _schemeServiceMock.Object);
 }
Esempio n. 2
0
 public LogoutController(ILogoutInteractor logoutInteractor, ILoggedOutInteractor loggedOutInteractor, IMapper mapper)
 {
     _logoutInteractor    = logoutInteractor;
     _loggedOutInteractor = loggedOutInteractor;
     _mapper = mapper;
 }