Created
November 27, 2018 12:51
-
-
Save Sajjon/698462cfceb36b7f15938c33c5170279 to your computer and use it in GitHub Desktop.
Medium article: SLC part 1 - AuthenticationUseCase
This file contains hidden or 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
| protocol AuthenticationUseCase: AnyObject { | |
| func signIn(request: SignInRequest) -> Observable<Void> | |
| } | |
| struct SignInRequest { | |
| let username: String | |
| let password: String | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment