Created
April 12, 2018 04:08
-
-
Save patrickcousins/3a6d3911a87f2841e6567c600afab5dc 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 TwoFactorResult { | |
object Success : TwoFactorResult() | |
data class RetryTwoFactorAuth(val token: String) : TwoFactorResult() | |
data class Fail(val errorMessage: String) : TwoFactorResult() | |
data class RetrySocial(val errorMessage: String) : TwoFactorResult() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment