Skip to content

Instantly share code, notes, and snippets.

@patrickcousins
Created April 12, 2018 04:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickcousins/a56e51d6e667b375590b2b507848a4ce to your computer and use it in GitHub Desktop.
Save patrickcousins/a56e51d6e667b375590b2b507848a4ce to your computer and use it in GitHub Desktop.
sealed class SocialSignInResult {
   data class Success(val token: String) : SocialSignInResult()
   data class Link(val token: String) : SocialSignInResult()
   data class Register(val token: String) : SocialSignInResult()
   data class Error(val errorMessage: String) : SocialSignInResult()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment