@sphereon/ssi-sdk-ext.jwt-service 0.24.1-unstable.115 → 0.24.1-unstable.118
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/package.json +10 -10
- package/plugin.schema.json +92 -62
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk-ext.jwt-service",
|
|
3
|
-
"version": "0.24.1-unstable.
|
|
3
|
+
"version": "0.24.1-unstable.118+b3b6756",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"generate-plugin-schema": "sphereon dev generate-plugin-schema"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.24.1-unstable.
|
|
19
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.24.1-unstable.
|
|
20
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.24.1-unstable.
|
|
21
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.24.1-unstable.
|
|
22
|
-
"@sphereon/ssi-sdk-ext.x509-utils": "0.24.1-unstable.
|
|
18
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.24.1-unstable.118+b3b6756",
|
|
19
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.24.1-unstable.118+b3b6756",
|
|
20
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.24.1-unstable.118+b3b6756",
|
|
21
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.24.1-unstable.118+b3b6756",
|
|
22
|
+
"@sphereon/ssi-sdk-ext.x509-utils": "0.24.1-unstable.118+b3b6756",
|
|
23
23
|
"@sphereon/ssi-sdk.agent-config": "0.29.1-unstable.161",
|
|
24
24
|
"@sphereon/ssi-types": "0.29.1-unstable.161",
|
|
25
25
|
"@veramo/core": "4.2.0",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"uint8arrays": "^3.1.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@sphereon/ssi-sdk-ext.did-provider-jwk": "0.24.1-unstable.
|
|
33
|
-
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.24.1-unstable.
|
|
34
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.24.1-unstable.
|
|
32
|
+
"@sphereon/ssi-sdk-ext.did-provider-jwk": "0.24.1-unstable.118+b3b6756",
|
|
33
|
+
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.24.1-unstable.118+b3b6756",
|
|
34
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.24.1-unstable.118+b3b6756",
|
|
35
35
|
"@sphereon/ssi-sdk.dev": "0.29.1-unstable.161",
|
|
36
36
|
"@veramo/data-store": "4.2.0",
|
|
37
37
|
"@veramo/did-manager": "4.2.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"X.509 Certificates",
|
|
67
67
|
"ARF"
|
|
68
68
|
],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "b3b6756b3ba231c9721a6d104bb48c46b7dd13d4"
|
|
70
70
|
}
|
package/plugin.schema.json
CHANGED
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
"const": "jwk"
|
|
462
462
|
},
|
|
463
463
|
"identifier": {
|
|
464
|
-
"$ref": "#/components/schemas/
|
|
464
|
+
"$ref": "#/components/schemas/JWK"
|
|
465
465
|
},
|
|
466
466
|
"kmsKeyRef": {
|
|
467
467
|
"type": "string"
|
|
@@ -511,7 +511,10 @@
|
|
|
511
511
|
"const": "x5c"
|
|
512
512
|
},
|
|
513
513
|
"identifier": {
|
|
514
|
-
"
|
|
514
|
+
"type": "array",
|
|
515
|
+
"items": {
|
|
516
|
+
"type": "string"
|
|
517
|
+
}
|
|
515
518
|
},
|
|
516
519
|
"kmsKeyRef": {
|
|
517
520
|
"type": "string"
|
|
@@ -561,7 +564,14 @@
|
|
|
561
564
|
"const": "did"
|
|
562
565
|
},
|
|
563
566
|
"identifier": {
|
|
564
|
-
"
|
|
567
|
+
"anyOf": [
|
|
568
|
+
{
|
|
569
|
+
"$ref": "#/components/schemas/IIdentifier"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"type": "string"
|
|
573
|
+
}
|
|
574
|
+
]
|
|
565
575
|
},
|
|
566
576
|
"kmsKeyRef": {
|
|
567
577
|
"type": "string"
|
|
@@ -626,7 +636,7 @@
|
|
|
626
636
|
"const": "kid"
|
|
627
637
|
},
|
|
628
638
|
"identifier": {
|
|
629
|
-
"
|
|
639
|
+
"type": "string"
|
|
630
640
|
},
|
|
631
641
|
"kmsKeyRef": {
|
|
632
642
|
"type": "string"
|
|
@@ -676,7 +686,7 @@
|
|
|
676
686
|
"const": "key"
|
|
677
687
|
},
|
|
678
688
|
"identifier": {
|
|
679
|
-
"$ref": "#/components/schemas/
|
|
689
|
+
"$ref": "#/components/schemas/IKey"
|
|
680
690
|
},
|
|
681
691
|
"kmsKeyRef": {
|
|
682
692
|
"type": "string"
|
|
@@ -726,7 +736,7 @@
|
|
|
726
736
|
"const": "cose_key"
|
|
727
737
|
},
|
|
728
738
|
"identifier": {
|
|
729
|
-
"$ref": "#/components/schemas/
|
|
739
|
+
"$ref": "#/components/schemas/ICoseKeyJson"
|
|
730
740
|
},
|
|
731
741
|
"kmsKeyRef": {
|
|
732
742
|
"type": "string"
|
|
@@ -1117,7 +1127,7 @@
|
|
|
1117
1127
|
"const": "jwk"
|
|
1118
1128
|
},
|
|
1119
1129
|
"identifier": {
|
|
1120
|
-
"$ref": "#/components/schemas/
|
|
1130
|
+
"$ref": "#/components/schemas/JWK"
|
|
1121
1131
|
},
|
|
1122
1132
|
"kmsKeyRef": {
|
|
1123
1133
|
"type": "string"
|
|
@@ -1158,7 +1168,10 @@
|
|
|
1158
1168
|
"const": "x5c"
|
|
1159
1169
|
},
|
|
1160
1170
|
"identifier": {
|
|
1161
|
-
"
|
|
1171
|
+
"type": "array",
|
|
1172
|
+
"items": {
|
|
1173
|
+
"type": "string"
|
|
1174
|
+
}
|
|
1162
1175
|
},
|
|
1163
1176
|
"kmsKeyRef": {
|
|
1164
1177
|
"type": "string"
|
|
@@ -1199,7 +1212,14 @@
|
|
|
1199
1212
|
"const": "did"
|
|
1200
1213
|
},
|
|
1201
1214
|
"identifier": {
|
|
1202
|
-
"
|
|
1215
|
+
"anyOf": [
|
|
1216
|
+
{
|
|
1217
|
+
"$ref": "#/components/schemas/IIdentifier"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"type": "string"
|
|
1221
|
+
}
|
|
1222
|
+
]
|
|
1203
1223
|
},
|
|
1204
1224
|
"kmsKeyRef": {
|
|
1205
1225
|
"type": "string"
|
|
@@ -1255,7 +1275,7 @@
|
|
|
1255
1275
|
"const": "kid"
|
|
1256
1276
|
},
|
|
1257
1277
|
"identifier": {
|
|
1258
|
-
"
|
|
1278
|
+
"type": "string"
|
|
1259
1279
|
},
|
|
1260
1280
|
"kmsKeyRef": {
|
|
1261
1281
|
"type": "string"
|
|
@@ -1296,7 +1316,7 @@
|
|
|
1296
1316
|
"const": "key"
|
|
1297
1317
|
},
|
|
1298
1318
|
"identifier": {
|
|
1299
|
-
"$ref": "#/components/schemas/
|
|
1319
|
+
"$ref": "#/components/schemas/IKey"
|
|
1300
1320
|
},
|
|
1301
1321
|
"kmsKeyRef": {
|
|
1302
1322
|
"type": "string"
|
|
@@ -1337,7 +1357,7 @@
|
|
|
1337
1357
|
"const": "cose_key"
|
|
1338
1358
|
},
|
|
1339
1359
|
"identifier": {
|
|
1340
|
-
"$ref": "#/components/schemas/
|
|
1360
|
+
"$ref": "#/components/schemas/ICoseKeyJson"
|
|
1341
1361
|
},
|
|
1342
1362
|
"kmsKeyRef": {
|
|
1343
1363
|
"type": "string"
|
|
@@ -1372,31 +1392,12 @@
|
|
|
1372
1392
|
}
|
|
1373
1393
|
]
|
|
1374
1394
|
},
|
|
1375
|
-
"
|
|
1376
|
-
"
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
"type": "string"
|
|
1382
|
-
},
|
|
1383
|
-
{
|
|
1384
|
-
"type": "array",
|
|
1385
|
-
"items": {
|
|
1386
|
-
"type": "string"
|
|
1387
|
-
}
|
|
1388
|
-
},
|
|
1389
|
-
{
|
|
1390
|
-
"$ref": "#/components/schemas/JWK"
|
|
1391
|
-
},
|
|
1392
|
-
{
|
|
1393
|
-
"$ref": "#/components/schemas/IKey"
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
"$ref": "#/components/schemas/ICoseKeyJson"
|
|
1397
|
-
}
|
|
1398
|
-
],
|
|
1399
|
-
"description": "Use whenever we need to pass in an identifier. We can pass in kids, DIDs, IIdentifier objects and x5chains\n\nThe functions below can be used to check the type, and they also provide the proper 'runtime' types"
|
|
1395
|
+
"ClientIdScheme": {
|
|
1396
|
+
"type": "string",
|
|
1397
|
+
"enum": [
|
|
1398
|
+
"x509_san_dns",
|
|
1399
|
+
"x509_san_uri"
|
|
1400
|
+
]
|
|
1400
1401
|
},
|
|
1401
1402
|
"IIdentifier": {
|
|
1402
1403
|
"type": "object",
|
|
@@ -1556,6 +1557,20 @@
|
|
|
1556
1557
|
],
|
|
1557
1558
|
"description": "Represents a service endpoint URL or a map of URLs"
|
|
1558
1559
|
},
|
|
1560
|
+
"DIDDocumentSection": {
|
|
1561
|
+
"type": "string",
|
|
1562
|
+
"enum": [
|
|
1563
|
+
"verificationMethod",
|
|
1564
|
+
"publicKey",
|
|
1565
|
+
"service",
|
|
1566
|
+
"authentication",
|
|
1567
|
+
"assertionMethod",
|
|
1568
|
+
"keyAgreement",
|
|
1569
|
+
"capabilityInvocation",
|
|
1570
|
+
"capabilityDelegation"
|
|
1571
|
+
],
|
|
1572
|
+
"description": "Refers to a section of a DID document. Either the list of verification methods or services or one of the verification relationships.\n\nSee {@link https://www.w3.org/TR/did-core/#verification-relationships | verification relationships }"
|
|
1573
|
+
},
|
|
1559
1574
|
"ICoseKeyJson": {
|
|
1560
1575
|
"type": "object",
|
|
1561
1576
|
"properties": {
|
|
@@ -1657,26 +1672,31 @@
|
|
|
1657
1672
|
-1
|
|
1658
1673
|
]
|
|
1659
1674
|
},
|
|
1660
|
-
"
|
|
1661
|
-
"
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1675
|
+
"ManagedIdentifierType": {
|
|
1676
|
+
"anyOf": [
|
|
1677
|
+
{
|
|
1678
|
+
"$ref": "#/components/schemas/IIdentifier"
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"type": "string"
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"type": "array",
|
|
1685
|
+
"items": {
|
|
1686
|
+
"type": "string"
|
|
1687
|
+
}
|
|
1688
|
+
},
|
|
1689
|
+
{
|
|
1690
|
+
"$ref": "#/components/schemas/JWK"
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"$ref": "#/components/schemas/IKey"
|
|
1694
|
+
},
|
|
1695
|
+
{
|
|
1696
|
+
"$ref": "#/components/schemas/ICoseKeyJson"
|
|
1697
|
+
}
|
|
1678
1698
|
],
|
|
1679
|
-
"description": "
|
|
1699
|
+
"description": "Use whenever we need to pass in an identifier. We can pass in kids, DIDs, IIdentifier objects and x5chains\n\nThe functions below can be used to check the type, and they also provide the proper 'runtime' types"
|
|
1680
1700
|
},
|
|
1681
1701
|
"JwtHeader": {
|
|
1682
1702
|
"type": "object",
|
|
@@ -2221,7 +2241,7 @@
|
|
|
2221
2241
|
"const": "jwk"
|
|
2222
2242
|
},
|
|
2223
2243
|
"identifier": {
|
|
2224
|
-
"$ref": "#/components/schemas/
|
|
2244
|
+
"$ref": "#/components/schemas/JWK"
|
|
2225
2245
|
},
|
|
2226
2246
|
"kmsKeyRef": {
|
|
2227
2247
|
"type": "string"
|
|
@@ -2271,7 +2291,10 @@
|
|
|
2271
2291
|
"const": "x5c"
|
|
2272
2292
|
},
|
|
2273
2293
|
"identifier": {
|
|
2274
|
-
"
|
|
2294
|
+
"type": "array",
|
|
2295
|
+
"items": {
|
|
2296
|
+
"type": "string"
|
|
2297
|
+
}
|
|
2275
2298
|
},
|
|
2276
2299
|
"kmsKeyRef": {
|
|
2277
2300
|
"type": "string"
|
|
@@ -2321,7 +2344,14 @@
|
|
|
2321
2344
|
"const": "did"
|
|
2322
2345
|
},
|
|
2323
2346
|
"identifier": {
|
|
2324
|
-
"
|
|
2347
|
+
"anyOf": [
|
|
2348
|
+
{
|
|
2349
|
+
"$ref": "#/components/schemas/IIdentifier"
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
"type": "string"
|
|
2353
|
+
}
|
|
2354
|
+
]
|
|
2325
2355
|
},
|
|
2326
2356
|
"kmsKeyRef": {
|
|
2327
2357
|
"type": "string"
|
|
@@ -2386,7 +2416,7 @@
|
|
|
2386
2416
|
"const": "kid"
|
|
2387
2417
|
},
|
|
2388
2418
|
"identifier": {
|
|
2389
|
-
"
|
|
2419
|
+
"type": "string"
|
|
2390
2420
|
},
|
|
2391
2421
|
"kmsKeyRef": {
|
|
2392
2422
|
"type": "string"
|
|
@@ -2436,7 +2466,7 @@
|
|
|
2436
2466
|
"const": "key"
|
|
2437
2467
|
},
|
|
2438
2468
|
"identifier": {
|
|
2439
|
-
"$ref": "#/components/schemas/
|
|
2469
|
+
"$ref": "#/components/schemas/IKey"
|
|
2440
2470
|
},
|
|
2441
2471
|
"kmsKeyRef": {
|
|
2442
2472
|
"type": "string"
|
|
@@ -2486,7 +2516,7 @@
|
|
|
2486
2516
|
"const": "cose_key"
|
|
2487
2517
|
},
|
|
2488
2518
|
"identifier": {
|
|
2489
|
-
"$ref": "#/components/schemas/
|
|
2519
|
+
"$ref": "#/components/schemas/ICoseKeyJson"
|
|
2490
2520
|
},
|
|
2491
2521
|
"kmsKeyRef": {
|
|
2492
2522
|
"type": "string"
|