@auth0/auth0-server-js 1.14.0 → 1.15.0
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 +1 -1
- package/dist/index.d.cts +22 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -95,6 +95,28 @@ interface AuthorizationParameters {
|
|
|
95
95
|
* this is supported for backwards compatibility.
|
|
96
96
|
*/
|
|
97
97
|
organization?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Selects the Experiment Center experiment to override for this authorization
|
|
100
|
+
* request, bypassing the server-side deterministic assignment. Use together
|
|
101
|
+
* with `variation_id` to force a specific variant.
|
|
102
|
+
*
|
|
103
|
+
* Pass per-call via `startInteractiveLogin` rather than at client construction
|
|
104
|
+
* time, so the override does not apply to every login.
|
|
105
|
+
*/
|
|
106
|
+
experiment_id?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The variation to assign the user to within the experiment identified by
|
|
109
|
+
* `experiment_id`. The override applies to this request only — the next login
|
|
110
|
+
* without these params reverts to normal server-side assignment.
|
|
111
|
+
* Requires `experiment_id`.
|
|
112
|
+
*/
|
|
113
|
+
variation_id?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Scopes the experiment override to a specific segment for this authorization
|
|
116
|
+
* request. Requires `experiment_id`. Only needed when the experiment uses
|
|
117
|
+
* segment targeting.
|
|
118
|
+
*/
|
|
119
|
+
segment_id?: string;
|
|
98
120
|
[key: string]: unknown;
|
|
99
121
|
}
|
|
100
122
|
interface TokenSet {
|
package/dist/index.d.ts
CHANGED
|
@@ -95,6 +95,28 @@ interface AuthorizationParameters {
|
|
|
95
95
|
* this is supported for backwards compatibility.
|
|
96
96
|
*/
|
|
97
97
|
organization?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Selects the Experiment Center experiment to override for this authorization
|
|
100
|
+
* request, bypassing the server-side deterministic assignment. Use together
|
|
101
|
+
* with `variation_id` to force a specific variant.
|
|
102
|
+
*
|
|
103
|
+
* Pass per-call via `startInteractiveLogin` rather than at client construction
|
|
104
|
+
* time, so the override does not apply to every login.
|
|
105
|
+
*/
|
|
106
|
+
experiment_id?: string;
|
|
107
|
+
/**
|
|
108
|
+
* The variation to assign the user to within the experiment identified by
|
|
109
|
+
* `experiment_id`. The override applies to this request only — the next login
|
|
110
|
+
* without these params reverts to normal server-side assignment.
|
|
111
|
+
* Requires `experiment_id`.
|
|
112
|
+
*/
|
|
113
|
+
variation_id?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Scopes the experiment override to a specific segment for this authorization
|
|
116
|
+
* request. Requires `experiment_id`. Only needed when the experiment uses
|
|
117
|
+
* segment targeting.
|
|
118
|
+
*/
|
|
119
|
+
segment_id?: string;
|
|
98
120
|
[key: string]: unknown;
|
|
99
121
|
}
|
|
100
122
|
interface TokenSet {
|
package/dist/index.js
CHANGED