Generates email links and OTPs to be sent via a custom email provider.
val (url, user) = supabase.gotrue.admin.generateLinkFor(LinkType.Signup) \{
email = "[email protected]"
password = "secretpassword"
\}
val (url, user) = supabase.gotrue.admin.generateLinkFor(LinkType.Invite) \{
email = "[email protected]"
\}
val (url, user) = supabase.gotrue.admin.generateLinkFor(LinkType.MagicLink) \{
email = "[email protected]"
\}
val (url, user) = supabase.gotrue.admin.generateLinkFor(LinkType.Recovery) \{
email = "[email protected]"
\}
// generate an email change link to be sent to the current email address
val (url, user) = supabase.gotrue.admin.generateLinkFor(LinkType.EmailChangeCurrent) \{
email = "[email protected]"
newEmail = "[email protected]"
\}
// generate an email change link to be sent to the new email address
val (url, user) = supabase.gotrue.admin.generateLinkFor(LinkType.EmailChangeNew) \{
email = "[email protected]"
newEmail = "[email protected]"
\}