diff --git a/apps/docs/spec/common-client-libs-sections.json b/apps/docs/spec/common-client-libs-sections.json index 0f1559522bb..b6574b10733 100644 --- a/apps/docs/spec/common-client-libs-sections.json +++ b/apps/docs/spec/common-client-libs-sections.json @@ -505,6 +505,20 @@ "product": "auth", "type": "function" }, + { + "id": "sign-in-with-passkey", + "title": "Sign in with a passkey", + "slug": "auth-signinwithpasskey", + "product": "auth", + "type": "function" + }, + { + "id": "register-passkey", + "title": "Register a passkey", + "slug": "auth-registerpasskey", + "product": "auth", + "type": "function" + }, { "id": "get-claims", "title": "Get user claims from verified JWT", @@ -730,6 +744,65 @@ } ] }, + { + "id": "passkey-api", + "isFunc": false, + "title": "Auth Passkey", + "slug": "auth-passkey-api", + "product": "auth", + "type": "function", + "items": [ + { + "id": "passkey-list", + "title": "List passkeys", + "slug": "auth-passkey-list", + "product": "auth", + "type": "function" + }, + { + "id": "passkey-update", + "title": "Update a passkey", + "slug": "auth-passkey-update", + "product": "auth", + "type": "function" + }, + { + "id": "passkey-delete", + "title": "Delete a passkey", + "slug": "auth-passkey-delete", + "product": "auth", + "type": "function" + }, + { + "id": "passkey-start-registration", + "title": "Start passkey registration", + "slug": "auth-passkey-startregistration", + "product": "auth", + "type": "function" + }, + { + "id": "passkey-verify-registration", + "title": "Verify passkey registration", + "slug": "auth-passkey-verifyregistration", + "product": "auth", + "type": "function" + }, + { + "id": "passkey-start-authentication", + "title": "Start passkey authentication", + "slug": "auth-passkey-startauthentication", + "product": "auth", + "type": "function" + }, + { + "id": "passkey-verify-authentication", + "title": "Verify passkey authentication", + "slug": "auth-passkey-verifyauthentication", + "product": "auth", + "type": "function" + } + ] + }, { "id": "oauth-server-api", "isFunc": false, @@ -851,7 +924,30 @@ "product": "auth-admin", "type": "function" }, - + { + "id": "admin-passkey-api", + "isFunc": false, + "title": "Passkey Admin", + "slug": "auth-admin-passkey-api", + "product": "auth-admin", + "type": "function", + "items": [ + { + "id": "admin-list-passkeys", + "title": "List passkeys for a user", + "slug": "auth-admin-passkey-listpasskeys", + "product": "auth-admin", + "type": "function" + }, + { + "id": "admin-delete-passkey", + "title": "Delete a passkey", + "slug": "auth-admin-passkey-deletepasskey", + "product": "auth-admin", + "type": "function" + } + ] + }, { "id": "oauth-admin-api", "isFunc": false, diff --git a/apps/docs/spec/supabase_dart_v2.yml b/apps/docs/spec/supabase_dart_v2.yml index 079d7b4ff15..b41ba7c068d 100644 --- a/apps/docs/spec/supabase_dart_v2.yml +++ b/apps/docs/spec/supabase_dart_v2.yml @@ -3857,6 +3857,7 @@ functions: - Realtime is disabled by default for new tables. You can turn it on by [managing replication](/docs/guides/realtime/postgres-changes#replication-setup). - `stream()` will emit the initial data as well as any further change on the database as `Stream>>` by combining Postgrest and Realtime. - Takes a list of primary key column names that will be used to update and delete the proper records within the SDK. + - To use a private Realtime channel, pass `channelOptions: const RealtimeChannelConfig(private: true)` to the `stream()` call. - The following filters are available - `.eq('column', value)` listens to rows where the column equals the value - `.neq('column', value)` listens to rows where the column does not equal the value diff --git a/apps/docs/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml index efd08fbf093..cd19b9770ab 100644 --- a/apps/docs/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -68,6 +68,10 @@ functions: $ref: '@supabase/auth-js.GoTrueClient.signInWithSSO' - id: sign-in-with-web3 $ref: '@supabase/auth-js.GoTrueClient.signInWithWeb3' + - id: sign-in-with-passkey + $ref: '@supabase/auth-js.GoTrueClient.signInWithPasskey' + - id: register-passkey + $ref: '@supabase/auth-js.GoTrueClient.registerPasskey' - id: get-claims $ref: '@supabase/auth-js.GoTrueClient.getClaims' - id: sign-out @@ -124,6 +128,34 @@ functions: $ref: '@supabase/auth-js.GoTrueMFAApi.unenroll' - id: mfa-get-authenticator-assurance-level $ref: '@supabase/auth-js.GoTrueMFAApi.getAuthenticatorAssuranceLevel' + - id: passkey-api + title: Auth Passkey + notes: | + This section contains methods for WebAuthn passkey registration, authentication, and management. Methods are invoked behind the `supabase.auth.passkey` namespace. + + Passkey support is an experimental feature. Enable it when creating the client: + + ```ts + const supabase = createClient(supabaseUrl, publishableKey, { + auth: { + experimental: { passkey: true }, + }, + }) + ``` + - id: passkey-list + $ref: '@supabase/auth-js.AuthPasskeyApi.list' + - id: passkey-update + $ref: '@supabase/auth-js.AuthPasskeyApi.update' + - id: passkey-delete + $ref: '@supabase/auth-js.AuthPasskeyApi.delete' + - id: passkey-start-registration + $ref: '@supabase/auth-js.AuthPasskeyApi.startRegistration' + - id: passkey-verify-registration + $ref: '@supabase/auth-js.AuthPasskeyApi.verifyRegistration' + - id: passkey-start-authentication + $ref: '@supabase/auth-js.AuthPasskeyApi.startAuthentication' + - id: passkey-verify-authentication + $ref: '@supabase/auth-js.AuthPasskeyApi.verifyAuthentication' - id: admin-api title: Overview notes: | @@ -169,6 +201,14 @@ functions: $ref: '@supabase/auth-js.GoTrueAdminMFAApi.listFactors' - id: mfa-delete-factor $ref: '@supabase/auth-js.GoTrueAdminMFAApi.deleteFactor' + - id: admin-passkey-api + title: Passkey Admin API + notes: | + Contains passkey administration methods. Requires a secret key. + - id: admin-list-passkeys + $ref: '@supabase/auth-js.GoTrueAdminPasskeyApi.listPasskeys' + - id: admin-delete-passkey + $ref: '@supabase/auth-js.GoTrueAdminPasskeyApi.deletePasskey' - id: admin-custom-providers-api title: Custom OIDC/OAuth Provider Admin API notes: | diff --git a/apps/docs/spec/supabase_kt_v3.yml b/apps/docs/spec/supabase_kt_v3.yml index e7c8b44a7ff..11fc51f9c79 100644 --- a/apps/docs/spec/supabase_kt_v3.yml +++ b/apps/docs/spec/supabase_kt_v3.yml @@ -2814,6 +2814,25 @@ functions: hideCodeBlock: true isSpotlight: true + - id: strip-nulls + title: stripNulls() + description: | + Strip null values from the response. + notes: | + - Requires PostgREST 11.2.0 or later. + examples: + - id: strip-nulls + name: Strip null values + isSpotlight: true + code: | + ```kotlin + val data = supabase + .from("characters") + .select { + stripNulls() + } + ``` + - id: explain $ref: '@supabase/postgrest-js.PostgrestTransformBuilder.explain' title: Using Explain diff --git a/apps/docs/spec/supabase_py_v2.yml b/apps/docs/spec/supabase_py_v2.yml index 5e52edb2d08..bc4c5e140bd 100644 --- a/apps/docs/spec/supabase_py_v2.yml +++ b/apps/docs/spec/supabase_py_v2.yml @@ -1304,6 +1304,10 @@ functions: isOptional: true type: string description: The nonce sent for reauthentication if the user's password is to be updated. + - name: current_password + isOptional: true + type: string + description: The user's current password. Required when changing the password to verify the user's identity. - name: password isOptional: true type: string diff --git a/apps/docs/spec/supabase_swift_v2.yml b/apps/docs/spec/supabase_swift_v2.yml index 7f622a247af..426d84eafab 100644 --- a/apps/docs/spec/supabase_swift_v2.yml +++ b/apps/docs/spec/supabase_swift_v2.yml @@ -4133,6 +4133,26 @@ functions: By default, the data is returned in JSON format, but can also be returned as Comma Separated Values. hideCodeBlock: true isSpotlight: true + - id: strip-nulls + title: stripNulls() + description: | + Strip null values from the response. + notes: | + - Requires PostgREST 11.2.0 or later. + - Cannot be combined with `.csv()`. + examples: + - id: strip-nulls + name: Strip null values + isSpotlight: true + code: | + ```swift + let data = try await supabase + .from("characters") + .select() + .stripNulls() + .execute() + .value + ``` - id: explain title: Using Explain description: |