lib.supabase.common

*default*

dynamic

admin-create-user

added in 4.1

(admin-create-user {:as body, :keys [role aud ban-duration email-confirm email user-metadata app-metadata phone phone-confirm password]} client)

creates a user

admin-delete-user

added in 4.1

(admin-delete-user {:as path, :keys [user-id]} client)

deletes a user by id

admin-get-user

added in 4.1

(admin-get-user {:as path, :keys [user-id]} client)

retrieves a user by id

admin-list-users

added in 4.1

(admin-list-users client)

lists existing users

admin-update-user

added in 4.1

(admin-update-user {:as path, :keys [user-id]} {:as body, :keys [app-metadata data email nonce password phone]} client)

updates a user by id

authorize

added in 4.1

(authorize {:as query, :keys [redirect-to]} client)

returns an OAuth authorize redirect response

callback

added in 4.1

(callback client)

returns an OAuth callback response

health

added in 4.1

(health client)

returns GoTrue health information

invite

added in 4.1

(invite {:as body, :keys [data email]} client)

invites a user by email

logout

added in 4.1

(logout client)

logs out the current user

otp

added in 4.1

(otp {:as body, :keys [create-user data email phone]} client)

initiates an OTP sign-in request

recovery

added in 4.1

(recovery {:as body, :keys [email]} client)

requests a password recovery

settings

added in 4.1

(settings client)

returns auth settings

signup

added in 4.1

(signup {:as body, :keys [data email password phone]} client)

registers a new user

token-password

added in 4.1

(token-password {:as body, :keys [email password phone]} client)

exchanges password for access token

token-refresh

added in 4.1

(token-refresh {:as body, :keys [refresh-token]} client)

refreshes an access token

user-get

added in 4.1

(user-get client)

retrieves the current user

user-put

added in 4.1

(user-put {:as body, :keys [app-metadata data email nonce password phone]} client)

updates the current user

verify-get

added in 4.1

(verify-get {:as query, :keys [type token email phone redirect-to]} client)

accepts a verify query request

verify-post

added in 4.1

(verify-post {:as body, :keys [email phone redirect-to token type]} client)

accepts a verify request