Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Merge branch 'feat/docs2.0' into km/add-mfa-reference-docs

Kang Ming6e4b3a56947d
diff --cc spec/common-client-libs-sections.json
index 8131416ffad,a5c20d184a9..1a913b94b67
--- a/spec/common-client-libs-sections.json
+++ b/spec/common-client-libs-sections.json
@@@ -578,148 -578,86 +578,146 @@@
"type": "function",
"libs": ["js", "js_v1", "dart", "dart_v0"]
},
+ {
+ "id": "mfa-enroll",
+ "title": "Enroll a factor",
+ "slug": "auth-mfa-enroll",
+ "product": "auth",
+ "type": "function",
+ "libs": ["js"]
+ },
+ {
+ "id": "mfa-challenge",
+ "title": "Create a challenge",
+ "slug": "auth-mfa-challenge",
+ "product": "auth",
+ "type": "function",
+ "libs": ["js"]
+ },
+ {
+ "id": "mfa-verify",
+ "title": "Verify a challenge",
+ "slug": "auth-mfa-verify",
+ "product": "auth",
+ "type": "function",
+ "libs": ["js"]
+ },
+ {
+ "id": "mfa-challenge-and-verify",
+ "title": "Create and verify a challenge",
+ "slug": "auth-mfa-challengeandverify",
+ "product": "auth",
+ "type": "function",
+ "libs": ["js"]
+ },
+ {
+ "id": "mfa-get-authenticator-assurance-level",
+ "title": "Get Authenticator Assurance Level",
+ "slug": "auth-mfa-getauthenticatorassurancelevel",
+ "product": "auth",
+ "type": "function",
+ "libs": ["js"]
+ }
+ ]
+ },
+ {
+ "title": "Auth (server-only)",
+ "libs": ["js", "js_v1"],
+ "items": [
{
"id": "admin-api",
- "isFunc": false,
- "title": "Overview",
- "slug": "supabase-auth-admin-api",
- "product": "auth-admin",
- "type": "function",
- "libs": ["js"]
+ "title": "Auth (server-only)",
+ "slug": "admin-api",
+ "libs": ["js", "js_v1"],
++ "type": "function"
+ },
+ {
+ "id": "get-user-by-id",
+ "title": "Retrieve a user",
+ "slug": "auth-admin-getuserbyid",
+ "product": "auth-admin",
"type": "function",
- "items": [
- {
- "id": "get-user-by-id",
- "title": "Retrieve a user",
- "slug": "auth-admin-getuserbyid",
- "product": "auth-admin",
- "type": "function",
- "libs": ["js"]
- },
- {
- "id": "list-users",
- "title": "List all users",
- "slug": "auth-admin-listusers",
- "product": "auth-admin",
- "type": "function",
- "libs": ["js", "js_v1"]
- },
- {
- "id": "create-user",
- "title": "Create a user",
- "slug": "auth-admin-createuser",
- "product": "auth-admin",
- "type": "function",
- "libs": ["js", "js_v1"]
- },
- {
- "id": "delete-user",
- "title": "Delete a user",
- "slug": "auth-admin-deleteuser",
- "product": "auth-admin",
- "type": "function",
- "libs": ["js", "js_v1"]
- },
- {
- "id": "invite-user-by-email",
- "title": "Send an email invite link",
- "slug": "auth-admin-inviteuserbyemail",
- "product": "auth-admin",
- "type": "function",
- "libs": ["js", "js_v1"]
- },
- {
- "id": "reset-password-for-email",
- "title": "Send a password reset request",
- "slug": "auth-admin-resetpasswordforemail",
- "product": "auth-admin",
- "type": "function",
- "libs": ["js"]
- },
- {
- "id": "generate-link",
- "title": "Generate an email link",
- "slug": "auth-admin-generatelink",
- "product": "auth-admin",
- "type": "function",
- "libs": ["js"]
- },
- {
- "id": "send-mobile-otp",
- "title": "Send a one-time passcode",
- "slug": "auth-api-sendmobileotp",
- "product": "auth-server",
- "type": "function",
- "libs": ["js_v1"]
- },
- {
- "id": "update-user-by-id",
- "title": "Update a user",
- "slug": "auth-admin-updateuserbyid",
- "product": "auth-admin",
- "type": "function",
- "libs": ["js", "js_v1"]
- }
- ]
+ "libs": ["js"]
+ },
+ {
+ "id": "list-users",
+ "title": "List all users",
+ "slug": "auth-admin-listusers",
+ "product": "auth-admin",
+ "type": "function",
+ "libs": ["js", "js_v1"]
+ },
+ {
+ "id": "create-user",
+ "title": "Create a user",
+ "slug": "auth-admin-createuser",
+ "product": "auth-admin",
+ "type": "function",
+ "libs": ["js", "js_v1"]
+ },
+ {
+ "id": "delete-user",
+ "title": "Delete a user",
+ "slug": "auth-admin-deleteuser",
+ "product": "auth-admin",
+ "type": "function",
+ "libs": ["js", "js_v1"]
+ },
+ {
+ "id": "invite-user-by-email",
+ "title": "Send an email invite link",
+ "slug": "auth-admin-inviteuserbyemail",
+ "product": "auth-admin",
+ "type": "function",
+ "libs": ["js", "js_v1"]
+ },
+ {
+ "id": "reset-password-for-email",
+ "title": "Send a password reset request",
+ "slug": "auth-admin-resetpasswordforemail",
+ "product": "auth-admin",
+ "type": "function",
+ "libs": ["js"]
+ },
+ {
+ "id": "generate-link",
+ "title": "Generate an email link",
+ "slug": "auth-admin-generatelink",
+ "product": "auth-admin",
+ "type": "function",
+ "libs": ["js"]
+ },
+ {
+ "id": "send-mobile-otp",
+ "title": "Send a one-time passcode",
+ "slug": "auth-api-sendmobileotp",
+ "product": "auth-server",
+ "type": "function",
+ "libs": ["js_v1"]
+ },
+ {
+ "id": "update-user-by-id",
+ "title": "Update a user",
+ "slug": "auth-admin-updateuserbyid",
+ "product": "auth-admin",
+ "type": "function",
+ "libs": ["js", "js_v1"]
+ },
+ {
+ "id": "mfa-list-factors",
+ "title": "List all factors for a user",
+ "slug": "auth-admin-mfa-listfactors",
+ "product": "auth-admin",
+ "type": "function",
+ "libs": ["js"]
+ },
+ {
+ "id": "mfa-delete-factor",
+ "title": "Delete a factor for a user",
+ "slug": "auth-admin-mfa-deletefactor",
+ "product": "auth-admin",
+ "type": "function",
+ "libs": ["js"]
}
]
},