diff --git a/README.md b/README.md index 6dcf164..2b456e3 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # Kotlin Client for GoTrue +> **Warning** +> This repository is archived. Use [supabase-kt](https://github.com/supabase-community/supabase-kt) instead to use Supabase in your Kotlin projects. + + Kotlin JVM client for [Netlify's GoTrue API](https://github.com/netlify/gotrue). Comes with DTOs for the responses to enable type-safe access. @@ -11,6 +15,7 @@ Comes with DTOs for the responses to enable type-safe access. ## Installation Maven + ```xml io.supabase @@ -21,11 +26,11 @@ Maven ``` Gradle + ```groovy implementation 'io.supabase:gotrue-kt:{version}' ``` - ## Usage ```kotlin @@ -43,7 +48,7 @@ try { "admin" = true ) ) - + println(updatedUser.updatedAt) } catch (exc: GoTrueHttpException) { // Exception is thrown on bad status (anything above 300) @@ -53,7 +58,7 @@ try { You can also customize the DTO for example if you turn off email verification -`````kotlin +```kotlin data class CustomGoTrueUserResponse( val accessToken: String, val tokenType: String, @@ -72,7 +77,7 @@ GoTrueClient.customApacheJacksonGoTrueClient.supabase.co/auth/v1`