Package-level declarations

Types

Link copied to clipboard
sealed interface AdminApi

The admin interface for the supabase auth module. Service role access token is required. Import it via Auth.importAuthToken. Never share it publicly

Link copied to clipboard
@Serializable(with = AdminUserBuilder.Companion::class)
sealed class AdminUserBuilder

A builder for creating a new user when signing up.

Link copied to clipboard
@Serializable
data class AdminUserUpdateBuilder(var email: String? = null, var password: String? = null, var appMetadata: JsonObject? = null, var userMetadata: JsonObject? = null, var emailConfirm: Boolean? = null, var phoneConfirm: Boolean? = null, var phone: String? = null, var banDuration: String? = null, var role: String? = null)

A builder for updating a user.

Link copied to clipboard
sealed interface LinkType<C : LinkType.Config>

Link types used in AdminApi.generateLinkFor

Functions

Link copied to clipboard
inline suspend fun <C : LinkType.Config> AdminApi.generateLinkFor(linkType: LinkType<C>, redirectTo: String? = null, noinline config: C.() -> Unit): Pair<String, UserInfo>

Generates a link for linkType