Skip to content

Instantly share code, notes, and snippets.

@LokoSama
Created April 28, 2020 15:23
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 LokoSama/c9ebe65da13b05476cb3dcafe7ef1b48 to your computer and use it in GitHub Desktop.
Save LokoSama/c9ebe65da13b05476cb3dcafe7ef1b48 to your computer and use it in GitHub Desktop.
data class AuthRequest(
val type: AuthType = AuthType.OTHER // enum : [EMAIL,FACEBOOK,OTHER]
val email: String = ""
val credentials: String? = null // only filled with email/password
val socialToken: String? = null // only filled with FB
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment