-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from CSC207-2022F-UofT/5-feature-1-user-regist…
…ration-&-log-in 5 feature 1 user registration & log in
- Loading branch information
Showing
17 changed files
with
90 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
course_name,course_instructor,tasks? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 4 additions & 8 deletions
12
src/main/java/screens/login_registration/LogoutController.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,18 @@ | ||
package screens.login_registration; | ||
|
||
import use_cases.login_registration.logout_usecase.LogoutInputBoundary; | ||
import use_cases.login_registration.logout_usecase.LogoutRequestModel; | ||
import use_cases.login_registration.logout_usecase.LogoutResponseModel; | ||
|
||
import java.io.IOException; | ||
|
||
public class LogoutController { | ||
|
||
final LogoutInputBoundary userInput; | ||
final LogoutInputBoundary interactor; | ||
|
||
public LogoutController(LogoutInputBoundary accGateway) { | ||
this.userInput = accGateway; | ||
this.interactor = accGateway; | ||
} | ||
|
||
LogoutResponseModel create(String name, String timeOfLogout) throws IOException { | ||
LogoutRequestModel request = new LogoutRequestModel(); | ||
|
||
return userInput.create(request); | ||
public void create() throws IOException { | ||
interactor.create(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package screens.login_registration; | ||
|
||
public class LogoutFailed extends Throwable { | ||
|
||
public LogoutFailed(String error) { | ||
super(error); | ||
} | ||
} |
17 changes: 0 additions & 17 deletions
17
src/main/java/screens/login_registration/LogoutResponseFormatter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.