@faable/auth-sdk 2.9.18 → 2.9.19
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/api/generated-client.d.ts +15 -0
- package/dist/api/types.d.ts +16 -1
- package/dist/version.js +2 -2
- package/package.json +1 -1
- package/spec/openapi.json +79 -2
|
@@ -812,6 +812,21 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
|
|
|
812
812
|
[key: string]: number;
|
|
813
813
|
};
|
|
814
814
|
} | null;
|
|
815
|
+
sign_in_flows: {
|
|
816
|
+
days: number;
|
|
817
|
+
apps: {
|
|
818
|
+
app: {
|
|
819
|
+
id: string;
|
|
820
|
+
client_id: string;
|
|
821
|
+
name: string;
|
|
822
|
+
};
|
|
823
|
+
pkce: number;
|
|
824
|
+
no_pkce: number;
|
|
825
|
+
implicit: number;
|
|
826
|
+
password: number;
|
|
827
|
+
last_legacy_day: string | null;
|
|
828
|
+
}[];
|
|
829
|
+
} | null;
|
|
815
830
|
latest_checked_at: string | null;
|
|
816
831
|
retention_days: number;
|
|
817
832
|
}>;
|
package/dist/api/types.d.ts
CHANGED
|
@@ -2468,7 +2468,7 @@ export interface paths {
|
|
|
2468
2468
|
put?: never;
|
|
2469
2469
|
/**
|
|
2470
2470
|
* Report a client-side sign-in failure
|
|
2471
|
-
* @description Called by the browser SDKs when a sign-in redirect could not be completed on the client (the code exchange stalled or had no PKCE verifier).
|
|
2471
|
+
* @description Called by the browser SDKs when a sign-in redirect could not be completed on the client (the code exchange stalled or had no PKCE verifier). A missing verifier adds an entry to the tenant log, at most once an hour per application; the response is always empty.
|
|
2472
2472
|
*/
|
|
2473
2473
|
post: operations["sdk/report"];
|
|
2474
2474
|
delete?: never;
|
|
@@ -33428,6 +33428,21 @@ export interface operations {
|
|
|
33428
33428
|
[key: string]: number;
|
|
33429
33429
|
};
|
|
33430
33430
|
} | null;
|
|
33431
|
+
sign_in_flows: {
|
|
33432
|
+
days: number;
|
|
33433
|
+
apps: {
|
|
33434
|
+
app: {
|
|
33435
|
+
id: string;
|
|
33436
|
+
client_id: string;
|
|
33437
|
+
name: string;
|
|
33438
|
+
};
|
|
33439
|
+
pkce: number;
|
|
33440
|
+
no_pkce: number;
|
|
33441
|
+
implicit: number;
|
|
33442
|
+
password: number;
|
|
33443
|
+
last_legacy_day: string | null;
|
|
33444
|
+
}[];
|
|
33445
|
+
} | null;
|
|
33431
33446
|
latest_checked_at: string | null;
|
|
33432
33447
|
retention_days: number;
|
|
33433
33448
|
};
|
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.9.
|
|
12
|
+
export const version = "2.9.19";
|
|
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 = "
|
|
18
|
+
export const commit = "ff00f19";
|
|
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
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.
|
|
6
|
+
"version": "2.103.0",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "private",
|
|
9
9
|
"url": "https://faable.com/docs/platform/privacy-policy"
|
|
@@ -68092,6 +68092,7 @@
|
|
|
68092
68092
|
"required": [
|
|
68093
68093
|
"libraries",
|
|
68094
68094
|
"traffic",
|
|
68095
|
+
"sign_in_flows",
|
|
68095
68096
|
"latest_checked_at",
|
|
68096
68097
|
"retention_days"
|
|
68097
68098
|
],
|
|
@@ -68254,6 +68255,82 @@
|
|
|
68254
68255
|
}
|
|
68255
68256
|
]
|
|
68256
68257
|
},
|
|
68258
|
+
"sign_in_flows": {
|
|
68259
|
+
"anyOf": [
|
|
68260
|
+
{
|
|
68261
|
+
"type": "object",
|
|
68262
|
+
"required": [
|
|
68263
|
+
"days",
|
|
68264
|
+
"apps"
|
|
68265
|
+
],
|
|
68266
|
+
"properties": {
|
|
68267
|
+
"days": {
|
|
68268
|
+
"type": "number"
|
|
68269
|
+
},
|
|
68270
|
+
"apps": {
|
|
68271
|
+
"type": "array",
|
|
68272
|
+
"items": {
|
|
68273
|
+
"type": "object",
|
|
68274
|
+
"required": [
|
|
68275
|
+
"app",
|
|
68276
|
+
"pkce",
|
|
68277
|
+
"no_pkce",
|
|
68278
|
+
"implicit",
|
|
68279
|
+
"password",
|
|
68280
|
+
"last_legacy_day"
|
|
68281
|
+
],
|
|
68282
|
+
"properties": {
|
|
68283
|
+
"app": {
|
|
68284
|
+
"type": "object",
|
|
68285
|
+
"required": [
|
|
68286
|
+
"id",
|
|
68287
|
+
"client_id",
|
|
68288
|
+
"name"
|
|
68289
|
+
],
|
|
68290
|
+
"properties": {
|
|
68291
|
+
"id": {
|
|
68292
|
+
"type": "string"
|
|
68293
|
+
},
|
|
68294
|
+
"client_id": {
|
|
68295
|
+
"type": "string"
|
|
68296
|
+
},
|
|
68297
|
+
"name": {
|
|
68298
|
+
"type": "string"
|
|
68299
|
+
}
|
|
68300
|
+
}
|
|
68301
|
+
},
|
|
68302
|
+
"pkce": {
|
|
68303
|
+
"type": "number"
|
|
68304
|
+
},
|
|
68305
|
+
"no_pkce": {
|
|
68306
|
+
"type": "number"
|
|
68307
|
+
},
|
|
68308
|
+
"implicit": {
|
|
68309
|
+
"type": "number"
|
|
68310
|
+
},
|
|
68311
|
+
"password": {
|
|
68312
|
+
"type": "number"
|
|
68313
|
+
},
|
|
68314
|
+
"last_legacy_day": {
|
|
68315
|
+
"anyOf": [
|
|
68316
|
+
{
|
|
68317
|
+
"type": "string"
|
|
68318
|
+
},
|
|
68319
|
+
{
|
|
68320
|
+
"type": "null"
|
|
68321
|
+
}
|
|
68322
|
+
]
|
|
68323
|
+
}
|
|
68324
|
+
}
|
|
68325
|
+
}
|
|
68326
|
+
}
|
|
68327
|
+
}
|
|
68328
|
+
},
|
|
68329
|
+
{
|
|
68330
|
+
"type": "null"
|
|
68331
|
+
}
|
|
68332
|
+
]
|
|
68333
|
+
},
|
|
68257
68334
|
"latest_checked_at": {
|
|
68258
68335
|
"anyOf": [
|
|
68259
68336
|
{
|
|
@@ -68434,7 +68511,7 @@
|
|
|
68434
68511
|
"tags": [
|
|
68435
68512
|
"sdk"
|
|
68436
68513
|
],
|
|
68437
|
-
"description": "Called by the browser SDKs when a sign-in redirect could not be completed on the client (the code exchange stalled or had no PKCE verifier).
|
|
68514
|
+
"description": "Called by the browser SDKs when a sign-in redirect could not be completed on the client (the code exchange stalled or had no PKCE verifier). A missing verifier adds an entry to the tenant log, at most once an hour per application; the response is always empty.",
|
|
68438
68515
|
"requestBody": {
|
|
68439
68516
|
"required": true,
|
|
68440
68517
|
"content": {
|