Created
April 12, 2018 04:07
-
-
Save patrickcousins/c6c2a61ec1c9da2ac141684c5b347f3c to your computer and use it in GitHub Desktop.
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
sealed class SignInResult { | |
data class Success(val token: String) : SignInResult() | |
data class TwoFactorAuth(val token: String) : SignInResult() | |
data class Fail(val token: String) : SignInResult() | |
data class RetrySocial(val errorMessage: String) : SignInResult() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment