MangaDex OAuth

Co-authored-by: Carlos <2092019+CarlosEsco@users.noreply.github.com>
This commit is contained in:
Jobobby04
2022-12-20 13:34:01 -05:00
parent 54c9ef51a6
commit 708b868e7b
16 changed files with 339 additions and 435 deletions
@@ -13,7 +13,9 @@ interface LoginSource : Source {
fun getPassword(): String
suspend fun login(username: String, password: String, twoFactorCode: String?): Boolean
suspend fun login(username: String, password: String, twoFactorCode: String?): Boolean = false
suspend fun login(authCode: String): Boolean = false
suspend fun logout(): Boolean