Kotlin: Send an email invite link

Sends an invite link to the user's email address.

Examples

Invite a user

supabase.gotrue.admin.inviteUserByEmail(
    email = "example@email.com",
    //optional:
    redirectTo = "https://example.com/redirect",
    data = buildJsonObject \{
        put("custom", "value")
    \}
)