Skip to content

Instantly share code, notes, and snippets.

@Sajjon
Created November 27, 2018 12:51
Show Gist options
  • Save Sajjon/698462cfceb36b7f15938c33c5170279 to your computer and use it in GitHub Desktop.
Save Sajjon/698462cfceb36b7f15938c33c5170279 to your computer and use it in GitHub Desktop.
Medium article: SLC part 1 - AuthenticationUseCase
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