@faable/auth-sdk 2.7.91 → 2.7.92

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.
@@ -1066,6 +1066,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1066
1066
  label: string;
1067
1067
  url: string;
1068
1068
  audience: string;
1069
+ scope?: string | undefined;
1069
1070
  } | null | undefined;
1070
1071
  delegation?: {
1071
1072
  client_id: string;
@@ -1119,6 +1120,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1119
1120
  label: string;
1120
1121
  url: string;
1121
1122
  audience: string;
1123
+ scope?: string | undefined;
1122
1124
  } | null | undefined;
1123
1125
  delegation?: {
1124
1126
  client_id: string;
@@ -1173,6 +1175,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1173
1175
  label: string;
1174
1176
  url: string;
1175
1177
  audience: string;
1178
+ scope?: string | undefined;
1176
1179
  } | null | undefined;
1177
1180
  delegation?: {
1178
1181
  client_id: string;
@@ -1228,6 +1231,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1228
1231
  label: string;
1229
1232
  url: string;
1230
1233
  audience: string;
1234
+ scope?: string | undefined;
1231
1235
  } | null | undefined;
1232
1236
  delegation?: {
1233
1237
  client_id: string;
@@ -1265,6 +1269,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1265
1269
  label: string;
1266
1270
  url: string;
1267
1271
  audience: string;
1272
+ scope?: string | undefined;
1268
1273
  } | null | undefined;
1269
1274
  delegation?: {
1270
1275
  client_id: string;
@@ -1305,6 +1310,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1305
1310
  label: string;
1306
1311
  url: string;
1307
1312
  audience: string;
1313
+ scope?: string | undefined;
1308
1314
  } | null | undefined;
1309
1315
  delegation?: {
1310
1316
  client_id: string;
@@ -1360,6 +1366,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
1360
1366
  label: string;
1361
1367
  url: string;
1362
1368
  audience: string;
1369
+ scope?: string | undefined;
1363
1370
  } | null | undefined;
1364
1371
  delegation?: {
1365
1372
  client_id: string;
@@ -6638,6 +6638,8 @@ export interface components {
6638
6638
  url: string;
6639
6639
  /** @description Identifier of a registered API the listing token is issued for (usually the resource server behind `url`). */
6640
6640
  audience: string;
6641
+ /** @description Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s. */
6642
+ scope?: string;
6641
6643
  } | null;
6642
6644
  delegation?: {
6643
6645
  /** @description The confidential client of the resource server allowed to exchange. */
@@ -6714,6 +6716,8 @@ export interface components {
6714
6716
  url: string;
6715
6717
  /** @description Identifier of a registered API the listing token is issued for (usually the resource server behind `url`). */
6716
6718
  audience: string;
6719
+ /** @description Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s. */
6720
+ scope?: string;
6717
6721
  };
6718
6722
  delegation?: {
6719
6723
  /** @description The confidential client of the resource server allowed to exchange. */
@@ -6759,6 +6763,8 @@ export interface components {
6759
6763
  url: string;
6760
6764
  /** @description Identifier of a registered API the listing token is issued for (usually the resource server behind `url`). */
6761
6765
  audience: string;
6766
+ /** @description Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s. */
6767
+ scope?: string;
6762
6768
  } | null;
6763
6769
  delegation?: {
6764
6770
  /** @description The confidential client of the resource server allowed to exchange. */
@@ -23979,6 +23985,8 @@ export interface operations {
23979
23985
  url: string;
23980
23986
  /** @description Identifier of a registered API the listing token is issued for (usually the resource server behind `url`). */
23981
23987
  audience: string;
23988
+ /** @description Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s. */
23989
+ scope?: string;
23982
23990
  };
23983
23991
  delegation?: {
23984
23992
  /** @description The confidential client of the resource server allowed to exchange. */
@@ -24044,6 +24052,8 @@ export interface operations {
24044
24052
  url: string;
24045
24053
  /** @description Identifier of a registered API the listing token is issued for (usually the resource server behind `url`). */
24046
24054
  audience: string;
24055
+ /** @description Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s. */
24056
+ scope?: string;
24047
24057
  } | null;
24048
24058
  delegation?: {
24049
24059
  /** @description The confidential client of the resource server allowed to exchange. */
@@ -24216,6 +24226,8 @@ export interface operations {
24216
24226
  url: string;
24217
24227
  /** @description Identifier of a registered API the listing token is issued for (usually the resource server behind `url`). */
24218
24228
  audience: string;
24229
+ /** @description Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s. */
24230
+ scope?: string;
24219
24231
  } | null;
24220
24232
  delegation?: {
24221
24233
  /** @description The confidential client of the resource server allowed to exchange. */
@@ -24377,6 +24389,8 @@ export interface operations {
24377
24389
  url: string;
24378
24390
  /** @description Identifier of a registered API the listing token is issued for (usually the resource server behind `url`). */
24379
24391
  audience: string;
24392
+ /** @description Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s. */
24393
+ scope?: string;
24380
24394
  } | null;
24381
24395
  delegation?: {
24382
24396
  /** @description The confidential client of the resource server allowed to exchange. */
@@ -24442,6 +24456,8 @@ export interface operations {
24442
24456
  url: string;
24443
24457
  /** @description Identifier of a registered API the listing token is issued for (usually the resource server behind `url`). */
24444
24458
  audience: string;
24459
+ /** @description Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s. */
24460
+ scope?: string;
24445
24461
  } | null;
24446
24462
  delegation?: {
24447
24463
  /** @description The confidential client of the resource server allowed to exchange. */
@@ -24620,6 +24636,8 @@ export interface operations {
24620
24636
  url: string;
24621
24637
  /** @description Identifier of a registered API the listing token is issued for (usually the resource server behind `url`). */
24622
24638
  audience: string;
24639
+ /** @description Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s. */
24640
+ scope?: string;
24623
24641
  } | null;
24624
24642
  delegation?: {
24625
24643
  /** @description The confidential client of the resource server allowed to exchange. */
package/dist/version.js CHANGED
@@ -9,13 +9,13 @@
9
9
  // login pages could not import the SDK at all. Same pattern as auth-js.
10
10
  //
11
11
  // The sentinels MUST stay byte-identical to the `from` values in `.releaserc`.
12
- export const version = "2.7.91";
12
+ export const version = "2.7.92";
13
13
  // Short git SHA of the released commit. The version dates a build; this names
14
14
  // the exact tree, so a canonical log line or an audit entry leads straight to
15
15
  // `git show <sha>`. Deliberately NOT hex: an unreleased build (dev, a local
16
16
  // link) cannot be mistaken for a real commit — auth only records values that
17
17
  // look like a SHA, and this one never will.
18
- export const commit = "275adad";
18
+ export const commit = "87bd307";
19
19
  // What this SDK writes in `x-faable-client`. Exported for a consumer that
20
20
  // builds a strategy on its own (outside `FaableAuthApi`) and still wants the
21
21
  // token request attributed — a bare `authClientCredentials` stamps only what
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "2.7.91",
3
+ "version": "2.7.92",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/spec/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "@faablecloud/auth",
5
5
  "description": "Auth Platform made by Faable. Manage Users and Roles",
6
- "version": "2.73.0",
6
+ "version": "2.73.1",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -4178,6 +4178,10 @@
4178
4178
  "audience": {
4179
4179
  "type": "string",
4180
4180
  "description": "Identifier of a registered API the listing token is issued for (usually the resource server behind `url`)."
4181
+ },
4182
+ "scope": {
4183
+ "type": "string",
4184
+ "description": "Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s."
4181
4185
  }
4182
4186
  },
4183
4187
  "nullable": true
@@ -4347,6 +4351,10 @@
4347
4351
  "audience": {
4348
4352
  "type": "string",
4349
4353
  "description": "Identifier of a registered API the listing token is issued for (usually the resource server behind `url`)."
4354
+ },
4355
+ "scope": {
4356
+ "type": "string",
4357
+ "description": "Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s."
4350
4358
  }
4351
4359
  }
4352
4360
  },
@@ -4478,6 +4486,10 @@
4478
4486
  "audience": {
4479
4487
  "type": "string",
4480
4488
  "description": "Identifier of a registered API the listing token is issued for (usually the resource server behind `url`)."
4489
+ },
4490
+ "scope": {
4491
+ "type": "string",
4492
+ "description": "Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s."
4481
4493
  }
4482
4494
  },
4483
4495
  "nullable": true
@@ -44780,6 +44792,10 @@
44780
44792
  "audience": {
44781
44793
  "type": "string",
44782
44794
  "description": "Identifier of a registered API the listing token is issued for (usually the resource server behind `url`)."
44795
+ },
44796
+ "scope": {
44797
+ "type": "string",
44798
+ "description": "Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s."
44783
44799
  }
44784
44800
  }
44785
44801
  },
@@ -44958,6 +44974,10 @@
44958
44974
  "audience": {
44959
44975
  "type": "string",
44960
44976
  "description": "Identifier of a registered API the listing token is issued for (usually the resource server behind `url`)."
44977
+ },
44978
+ "scope": {
44979
+ "type": "string",
44980
+ "description": "Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s."
44961
44981
  }
44962
44982
  },
44963
44983
  "nullable": true
@@ -45329,6 +45349,10 @@
45329
45349
  "audience": {
45330
45350
  "type": "string",
45331
45351
  "description": "Identifier of a registered API the listing token is issued for (usually the resource server behind `url`)."
45352
+ },
45353
+ "scope": {
45354
+ "type": "string",
45355
+ "description": "Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s."
45332
45356
  }
45333
45357
  },
45334
45358
  "nullable": true
@@ -45651,6 +45675,10 @@
45651
45675
  "audience": {
45652
45676
  "type": "string",
45653
45677
  "description": "Identifier of a registered API the listing token is issued for (usually the resource server behind `url`)."
45678
+ },
45679
+ "scope": {
45680
+ "type": "string",
45681
+ "description": "Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s."
45654
45682
  }
45655
45683
  },
45656
45684
  "nullable": true
@@ -45841,6 +45869,10 @@
45841
45869
  "audience": {
45842
45870
  "type": "string",
45843
45871
  "description": "Identifier of a registered API the listing token is issued for (usually the resource server behind `url`)."
45872
+ },
45873
+ "scope": {
45874
+ "type": "string",
45875
+ "description": "Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s."
45844
45876
  }
45845
45877
  },
45846
45878
  "nullable": true
@@ -46212,6 +46244,10 @@
46212
46244
  "audience": {
46213
46245
  "type": "string",
46214
46246
  "description": "Identifier of a registered API the listing token is issued for (usually the resource server behind `url`)."
46247
+ },
46248
+ "scope": {
46249
+ "type": "string",
46250
+ "description": "Space-separated permissions of the listing token. The token is delegated (`act`): the resource server sees auth acting for the user with only these, never the user’s full powers — an admin is listed their own choices, not the whole platform’s."
46215
46251
  }
46216
46252
  },
46217
46253
  "nullable": true