Kotlin: Auth Admin

Examples

Create server-side auth client

val supabase = createSupabaseClient(
    supabaseUrl = "https://id.supabase.co",
    supabaseKey = "supabaseKey"
) \{
    install(Auth) \{
        minimalSettings() //disables session saving and auto-refreshing
    \}
    // install other plugins (these will use the service role key)
\}
supabase.auth.importAuthToken("service_role")

// Access auth admin api
val adminAuthClient = supabase.auth.admin