@ractive-ch/tab-mcp 0.5.1 → 0.6.1
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/README.md +22 -3
- package/index.js +775 -170
- package/index.js.map +12 -10
- package/jwt.d.ts +10 -2
- package/main.js +775 -170
- package/main.js.map +12 -10
- package/oauth/cimd.d.ts +49 -4
- package/oauth/client-auth.d.ts +86 -0
- package/oauth/domain-cache.d.ts +24 -0
- package/oauth/server.d.ts +1 -0
- package/package.json +2 -2
- package/relay.d.ts +6 -0
- package/store/memory.d.ts +13 -0
- package/store/sqlite.d.ts +2 -0
- package/store/types.d.ts +17 -0
- package/testing.d.ts +33 -2
- package/testing.js +5863 -1
- package/testing.js.map +28 -4
- package/tokens.d.ts +4 -1
package/tokens.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ export interface GrantInput {
|
|
|
15
15
|
grantCreatedAt?: number;
|
|
16
16
|
/** The hashed identity of an identity-bound grant (DEC-077). */
|
|
17
17
|
subject?: string;
|
|
18
|
+
/** Refreshes need a client assertion (DEC-106). */
|
|
19
|
+
clientAuth?: "private_key_jwt";
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
22
|
* Issue an access token for a grant and store its hash, without OAuth. An
|
|
@@ -33,9 +35,10 @@ export declare function issueAccessToken(store: TokenStore, grant: GrantInput, o
|
|
|
33
35
|
* beyond `grantEndsAt` (DEC-062). Returns `undefined` if the store refuses
|
|
34
36
|
* them because the grant was revoked meanwhile (its tombstone, DEC-063).
|
|
35
37
|
*/
|
|
36
|
-
export declare function issueTokenPair(store: TokenStore, grant: Required<Omit<GrantInput, "scopes" | "subject">> & {
|
|
38
|
+
export declare function issueTokenPair(store: TokenStore, grant: Required<Omit<GrantInput, "scopes" | "subject" | "clientAuth">> & {
|
|
37
39
|
scopes: string[];
|
|
38
40
|
subject?: string;
|
|
41
|
+
clientAuth?: "private_key_jwt";
|
|
39
42
|
}, options: {
|
|
40
43
|
accessTtlMs: number;
|
|
41
44
|
refreshTtlMs: number;
|