@thunderid/javascript 1.17.0 → 1.18.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/models/backend.d.ts
CHANGED
|
@@ -31,9 +31,10 @@ export interface BackendEndpoints {
|
|
|
31
31
|
signOut?: string;
|
|
32
32
|
/**
|
|
33
33
|
* Switches the session to another organization unit without leaving the page. The SDK sends
|
|
34
|
-
* `POST {ouSwitch}?ouId=<unit id>`
|
|
35
|
-
* OAuth `error` in a JSON body; when that error
|
|
36
|
-
*
|
|
34
|
+
* `POST {ouSwitch}?ouId=<unit id>` with the same unit as a JSON body, `{"ouId": "<unit id>"}`, and reads
|
|
35
|
+
* the session again on success. A refusal answers with an OAuth `error` in a JSON body; when that error
|
|
36
|
+
* says the user has to sign in (`interaction_required`, `login_required`, …), or the answer is `401`,
|
|
37
|
+
* the SDK falls back to `signIn` with `ouId`. Defaults to `/api/auth/switch`.
|
|
37
38
|
*/
|
|
38
39
|
ouSwitch?: string;
|
|
39
40
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../../src/models/backend.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB
|
|
1
|
+
{"version":3,"file":"backend.d.ts","sourceRoot":"","sources":["../../src/models/backend.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,MAAM,CAAC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