Skip to content

Commit 5463353

Browse files
feat: Allow additional custom properties on service descriptors
- Added support for custom properties in the IJWK interface to enhance interoperability with services that extend the base definition.
1 parent 98a7c19 commit 5463353

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib/interfaces.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ export interface IJWK {
9090

9191
/** The types of messages the service accepts */
9292
accepts?: string[]
93+
/**
94+
* Allow additional custom properties on service descriptors. This is required
95+
* for interoperability with services whose specification extends the base
96+
* definition with extra fields not (yet) known to this library.
97+
*/
98+
[propName: string]: unknown;
9399
}
94100

95101
/**

0 commit comments

Comments
 (0)