@faable/auth-sdk 2.7.80 → 2.7.81
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/types.d.ts +8 -0
- package/dist/version.js +2 -2
- package/package.json +1 -1
- package/spec/openapi.json +27 -1
package/dist/api/types.d.ts
CHANGED
|
@@ -6864,6 +6864,8 @@ export interface components {
|
|
|
6864
6864
|
audience?: string;
|
|
6865
6865
|
/** @description RFC 8707 Resource Indicator. Absolute URI of the target Api, no fragment. Matched against `Api.identifier` in the tenant. */
|
|
6866
6866
|
resource?: string;
|
|
6867
|
+
/** @description client_credentials only. An access token previously returned by this endpoint that a resource server rejected with 401. If it is the cached token for this client, the cache entry is dropped and a new token is issued; otherwise it has no effect. */
|
|
6868
|
+
invalidate_token?: string;
|
|
6867
6869
|
} & {
|
|
6868
6870
|
[key: string]: unknown;
|
|
6869
6871
|
};
|
|
@@ -28656,6 +28658,8 @@ export interface operations {
|
|
|
28656
28658
|
audience?: string;
|
|
28657
28659
|
/** @description RFC 8707 Resource Indicator. Absolute URI of the target Api, no fragment. Matched against `Api.identifier` in the tenant. */
|
|
28658
28660
|
resource?: string;
|
|
28661
|
+
/** @description client_credentials only. An access token previously returned by this endpoint that a resource server rejected with 401. If it is the cached token for this client, the cache entry is dropped and a new token is issued; otherwise it has no effect. */
|
|
28662
|
+
invalidate_token?: string;
|
|
28659
28663
|
};
|
|
28660
28664
|
header?: never;
|
|
28661
28665
|
path?: never;
|
|
@@ -28757,6 +28761,8 @@ export interface operations {
|
|
|
28757
28761
|
audience?: string;
|
|
28758
28762
|
/** @description RFC 8707 Resource Indicator. Absolute URI of the target Api, no fragment. Matched against `Api.identifier` in the tenant. */
|
|
28759
28763
|
resource?: string;
|
|
28764
|
+
/** @description client_credentials only. An access token previously returned by this endpoint that a resource server rejected with 401. If it is the cached token for this client, the cache entry is dropped and a new token is issued; otherwise it has no effect. */
|
|
28765
|
+
invalidate_token?: string;
|
|
28760
28766
|
};
|
|
28761
28767
|
header?: never;
|
|
28762
28768
|
path?: never;
|
|
@@ -28790,6 +28796,8 @@ export interface operations {
|
|
|
28790
28796
|
audience?: string;
|
|
28791
28797
|
/** @description RFC 8707 Resource Indicator. Absolute URI of the target Api, no fragment. Matched against `Api.identifier` in the tenant. */
|
|
28792
28798
|
resource?: string;
|
|
28799
|
+
/** @description client_credentials only. An access token previously returned by this endpoint that a resource server rejected with 401. If it is the cached token for this client, the cache entry is dropped and a new token is issued; otherwise it has no effect. */
|
|
28800
|
+
invalidate_token?: string;
|
|
28793
28801
|
} & {
|
|
28794
28802
|
[key: string]: unknown;
|
|
28795
28803
|
};
|
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.
|
|
12
|
+
export const version = "2.7.81";
|
|
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 = "8fa14f2";
|
|
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.64.0",
|
|
7
7
|
"license": {
|
|
8
8
|
"name": "private",
|
|
9
9
|
"url": "https://faable.com/docs/platform/privacy-policy"
|
|
@@ -7437,6 +7437,10 @@
|
|
|
7437
7437
|
"resource": {
|
|
7438
7438
|
"type": "string",
|
|
7439
7439
|
"description": "RFC 8707 Resource Indicator. Absolute URI of the target Api, no fragment. Matched against `Api.identifier` in the tenant."
|
|
7440
|
+
},
|
|
7441
|
+
"invalidate_token": {
|
|
7442
|
+
"type": "string",
|
|
7443
|
+
"description": "client_credentials only. An access token previously returned by this endpoint that a resource server rejected with 401. If it is the cached token for this client, the cache entry is dropped and a new token is issued; otherwise it has no effect."
|
|
7440
7444
|
}
|
|
7441
7445
|
},
|
|
7442
7446
|
"additionalProperties": true
|
|
@@ -62389,6 +62393,15 @@
|
|
|
62389
62393
|
"name": "resource",
|
|
62390
62394
|
"required": false,
|
|
62391
62395
|
"description": "RFC 8707 Resource Indicator. Absolute URI of the target Api, no fragment. Matched against `Api.identifier` in the tenant."
|
|
62396
|
+
},
|
|
62397
|
+
{
|
|
62398
|
+
"schema": {
|
|
62399
|
+
"type": "string"
|
|
62400
|
+
},
|
|
62401
|
+
"in": "query",
|
|
62402
|
+
"name": "invalidate_token",
|
|
62403
|
+
"required": false,
|
|
62404
|
+
"description": "client_credentials only. An access token previously returned by this endpoint that a resource server rejected with 401. If it is the cached token for this client, the cache entry is dropped and a new token is issued; otherwise it has no effect."
|
|
62392
62405
|
}
|
|
62393
62406
|
],
|
|
62394
62407
|
"responses": {
|
|
@@ -62658,6 +62671,10 @@
|
|
|
62658
62671
|
"resource": {
|
|
62659
62672
|
"type": "string",
|
|
62660
62673
|
"description": "RFC 8707 Resource Indicator. Absolute URI of the target Api, no fragment. Matched against `Api.identifier` in the tenant."
|
|
62674
|
+
},
|
|
62675
|
+
"invalidate_token": {
|
|
62676
|
+
"type": "string",
|
|
62677
|
+
"description": "client_credentials only. An access token previously returned by this endpoint that a resource server rejected with 401. If it is the cached token for this client, the cache entry is dropped and a new token is issued; otherwise it has no effect."
|
|
62661
62678
|
}
|
|
62662
62679
|
},
|
|
62663
62680
|
"additionalProperties": true
|
|
@@ -62871,6 +62888,15 @@
|
|
|
62871
62888
|
"name": "resource",
|
|
62872
62889
|
"required": false,
|
|
62873
62890
|
"description": "RFC 8707 Resource Indicator. Absolute URI of the target Api, no fragment. Matched against `Api.identifier` in the tenant."
|
|
62891
|
+
},
|
|
62892
|
+
{
|
|
62893
|
+
"schema": {
|
|
62894
|
+
"type": "string"
|
|
62895
|
+
},
|
|
62896
|
+
"in": "query",
|
|
62897
|
+
"name": "invalidate_token",
|
|
62898
|
+
"required": false,
|
|
62899
|
+
"description": "client_credentials only. An access token previously returned by this endpoint that a resource server rejected with 401. If it is the cached token for this client, the cache entry is dropped and a new token is issued; otherwise it has no effect."
|
|
62874
62900
|
}
|
|
62875
62901
|
],
|
|
62876
62902
|
"responses": {
|