@auth0/auth0-server-js 1.12.0 → 1.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +10 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -690,6 +690,12 @@ declare class ServerPasskeyClient<TStoreOptions = unknown> {
|
|
|
690
690
|
*
|
|
691
691
|
* This method does not create a session; no state is persisted.
|
|
692
692
|
*
|
|
693
|
+
* On a confidential client this endpoint accepts `client_secret` as its only
|
|
694
|
+
* credential, so configure `clientSecret` on the `ServerClient`. It does not
|
|
695
|
+
* accept a private key JWT and is not served on the mTLS endpoint aliases, so a
|
|
696
|
+
* client configured with only `clientAssertionSigningKey` or only `useMtls` is
|
|
697
|
+
* rejected by Auth0. Public clients authenticate with `clientId` alone.
|
|
698
|
+
*
|
|
693
699
|
* @param options User profile data and optional realm/organization.
|
|
694
700
|
* @param storeOptions Optional options used to resolve the domain (resolver mode).
|
|
695
701
|
*
|
|
@@ -708,6 +714,9 @@ declare class ServerPasskeyClient<TStoreOptions = unknown> {
|
|
|
708
714
|
*
|
|
709
715
|
* This method does not create a session; no state is persisted.
|
|
710
716
|
*
|
|
717
|
+
* Client authentication works the same way as {@link ServerPasskeyClient.register}:
|
|
718
|
+
* on a confidential client, only a `clientSecret` is accepted here.
|
|
719
|
+
*
|
|
711
720
|
* @param options Optional realm/organization configuration.
|
|
712
721
|
* @param storeOptions Optional options used to resolve the domain (resolver mode).
|
|
713
722
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -690,6 +690,12 @@ declare class ServerPasskeyClient<TStoreOptions = unknown> {
|
|
|
690
690
|
*
|
|
691
691
|
* This method does not create a session; no state is persisted.
|
|
692
692
|
*
|
|
693
|
+
* On a confidential client this endpoint accepts `client_secret` as its only
|
|
694
|
+
* credential, so configure `clientSecret` on the `ServerClient`. It does not
|
|
695
|
+
* accept a private key JWT and is not served on the mTLS endpoint aliases, so a
|
|
696
|
+
* client configured with only `clientAssertionSigningKey` or only `useMtls` is
|
|
697
|
+
* rejected by Auth0. Public clients authenticate with `clientId` alone.
|
|
698
|
+
*
|
|
693
699
|
* @param options User profile data and optional realm/organization.
|
|
694
700
|
* @param storeOptions Optional options used to resolve the domain (resolver mode).
|
|
695
701
|
*
|
|
@@ -708,6 +714,9 @@ declare class ServerPasskeyClient<TStoreOptions = unknown> {
|
|
|
708
714
|
*
|
|
709
715
|
* This method does not create a session; no state is persisted.
|
|
710
716
|
*
|
|
717
|
+
* Client authentication works the same way as {@link ServerPasskeyClient.register}:
|
|
718
|
+
* on a confidential client, only a `clientSecret` is accepted here.
|
|
719
|
+
*
|
|
711
720
|
* @param options Optional realm/organization configuration.
|
|
712
721
|
* @param storeOptions Optional options used to resolve the domain (resolver mode).
|
|
713
722
|
*
|
package/dist/index.js
CHANGED
|
@@ -211,7 +211,7 @@ function getTelemetryConfig(config) {
|
|
|
211
211
|
return {
|
|
212
212
|
enabled: true,
|
|
213
213
|
name: config?.name ?? "@auth0/auth0-server-js",
|
|
214
|
-
version: config?.version ?? "1.12.
|
|
214
|
+
version: config?.version ?? "1.12.1"
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
217
|
|
|
@@ -317,6 +317,12 @@ var ServerPasskeyClient = class {
|
|
|
317
317
|
*
|
|
318
318
|
* This method does not create a session; no state is persisted.
|
|
319
319
|
*
|
|
320
|
+
* On a confidential client this endpoint accepts `client_secret` as its only
|
|
321
|
+
* credential, so configure `clientSecret` on the `ServerClient`. It does not
|
|
322
|
+
* accept a private key JWT and is not served on the mTLS endpoint aliases, so a
|
|
323
|
+
* client configured with only `clientAssertionSigningKey` or only `useMtls` is
|
|
324
|
+
* rejected by Auth0. Public clients authenticate with `clientId` alone.
|
|
325
|
+
*
|
|
320
326
|
* @param options User profile data and optional realm/organization.
|
|
321
327
|
* @param storeOptions Optional options used to resolve the domain (resolver mode).
|
|
322
328
|
*
|
|
@@ -339,6 +345,9 @@ var ServerPasskeyClient = class {
|
|
|
339
345
|
*
|
|
340
346
|
* This method does not create a session; no state is persisted.
|
|
341
347
|
*
|
|
348
|
+
* Client authentication works the same way as {@link ServerPasskeyClient.register}:
|
|
349
|
+
* on a confidential client, only a `clientSecret` is accepted here.
|
|
350
|
+
*
|
|
342
351
|
* @param options Optional realm/organization configuration.
|
|
343
352
|
* @param storeOptions Optional options used to resolve the domain (resolver mode).
|
|
344
353
|
*
|