@faable/auth-sdk 1.3.24 → 1.3.25

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.
@@ -8553,6 +8553,8 @@ export interface operations {
8553
8553
  scope?: string;
8554
8554
  /** @description Identifier of the API the device wants to access. Resolved against the tenant Api resources (`Api.identifier`) at token issuance. */
8555
8555
  audience?: string;
8556
+ /** @description Human-friendly name of the requesting device (e.g. "marcs-mbp (macOS)"). Shown on the confirm page so the user can recognise the device being authorised. */
8557
+ device_name?: string;
8556
8558
  };
8557
8559
  };
8558
8560
  };
@@ -8638,6 +8640,7 @@ export interface operations {
8638
8640
  content: {
8639
8641
  "application/json": {
8640
8642
  device_code: string;
8643
+ device_name?: string;
8641
8644
  client: {
8642
8645
  name?: string;
8643
8646
  client_id?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "1.3.24",
3
+ "version": "1.3.25",
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": "1.9.2",
6
+ "version": "1.10.0",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -17052,6 +17052,11 @@
17052
17052
  "audience": {
17053
17053
  "type": "string",
17054
17054
  "description": "Identifier of the API the device wants to access. Resolved against the tenant Api resources (`Api.identifier`) at token issuance."
17055
+ },
17056
+ "device_name": {
17057
+ "type": "string",
17058
+ "description": "Human-friendly name of the requesting device (e.g. \"marcs-mbp (macOS)\"). Shown on the confirm page so the user can recognise the device being authorised.",
17059
+ "maxLength": 200
17055
17060
  }
17056
17061
  }
17057
17062
  }
@@ -17191,6 +17196,9 @@
17191
17196
  "device_code": {
17192
17197
  "type": "string"
17193
17198
  },
17199
+ "device_name": {
17200
+ "type": "string"
17201
+ },
17194
17202
  "client": {
17195
17203
  "type": "object",
17196
17204
  "properties": {