Kotlin: Auth Admin

Examples

Create server-side auth client

val supabase = createSupabaseClient(
    supabaseUrl = "https://id.supabase.co",
    supabaseKey = "supabaseKey"
) \{
    install(GoTrue) \{
        autoLoadFromStorage = false
        alwaysAutoRefresh = false
    \}
    // install other plugins (these will use the service role key)
\}
supabase.gotrue.importAuthToken("service_role")

// Access auth admin api
val adminGoTrueClient = supabase.gotrue.admin