@pagopa/io-react-native-wallet 0.27.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. package/lib/commonjs/credential/index.js +1 -5
  2. package/lib/commonjs/credential/index.js.map +1 -1
  3. package/lib/commonjs/credential/issuance/02-get-issuer-config.js +48 -0
  4. package/lib/commonjs/credential/issuance/02-get-issuer-config.js.map +1 -0
  5. package/lib/commonjs/credential/issuance/03-start-user-authorization.js +16 -20
  6. package/lib/commonjs/credential/issuance/03-start-user-authorization.js.map +1 -1
  7. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +8 -8
  8. package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -1
  9. package/lib/commonjs/credential/issuance/05-authorize-access.js +8 -9
  10. package/lib/commonjs/credential/issuance/05-authorize-access.js.map +1 -1
  11. package/lib/commonjs/credential/issuance/06-obtain-credential.js +18 -21
  12. package/lib/commonjs/credential/issuance/06-obtain-credential.js.map +1 -1
  13. package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js +3 -3
  14. package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
  15. package/lib/commonjs/credential/issuance/README.md +18 -21
  16. package/lib/commonjs/credential/issuance/index.js +3 -3
  17. package/lib/commonjs/credential/issuance/index.js.map +1 -1
  18. package/lib/commonjs/credential/issuance/types.js +1 -1
  19. package/lib/commonjs/credential/issuance/types.js.map +1 -1
  20. package/lib/commonjs/credential/presentation/01-start-flow.js +7 -2
  21. package/lib/commonjs/credential/presentation/01-start-flow.js.map +1 -1
  22. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js +2 -2
  23. package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
  24. package/lib/commonjs/credential/presentation/03-retrieve-jwks.js +68 -0
  25. package/lib/commonjs/credential/presentation/03-retrieve-jwks.js.map +1 -0
  26. package/lib/commonjs/credential/presentation/{03-get-request-object.js → 04-get-request-object.js} +27 -13
  27. package/lib/commonjs/credential/presentation/04-get-request-object.js.map +1 -0
  28. package/lib/commonjs/credential/presentation/{04-send-authorization-response.js → 05-send-authorization-response.js} +1 -1
  29. package/lib/commonjs/credential/presentation/{04-send-authorization-response.js.map → 05-send-authorization-response.js.map} +1 -1
  30. package/lib/commonjs/credential/presentation/README.md +74 -2
  31. package/lib/commonjs/credential/presentation/index.js +15 -2
  32. package/lib/commonjs/credential/presentation/index.js.map +1 -1
  33. package/lib/commonjs/credential/presentation/types.js +5 -3
  34. package/lib/commonjs/credential/presentation/types.js.map +1 -1
  35. package/lib/commonjs/entity/openid-connect/issuer/index.js +25 -0
  36. package/lib/commonjs/entity/openid-connect/issuer/index.js.map +1 -0
  37. package/lib/commonjs/entity/openid-connect/issuer/types.js +61 -0
  38. package/lib/commonjs/entity/openid-connect/issuer/types.js.map +1 -0
  39. package/lib/commonjs/{trust → entity/trust}/chain.js +1 -1
  40. package/lib/commonjs/entity/trust/chain.js.map +1 -0
  41. package/lib/commonjs/{trust → entity/trust}/index.js +1 -1
  42. package/lib/commonjs/entity/trust/index.js.map +1 -0
  43. package/lib/commonjs/{trust → entity/trust}/types.js +2 -2
  44. package/lib/commonjs/entity/trust/types.js.map +1 -0
  45. package/lib/commonjs/index.js +1 -3
  46. package/lib/commonjs/index.js.map +1 -1
  47. package/lib/commonjs/pid/sd-jwt/types.js +2 -18
  48. package/lib/commonjs/pid/sd-jwt/types.js.map +1 -1
  49. package/lib/commonjs/sd-jwt/__test__/index.test.js +32 -23
  50. package/lib/commonjs/sd-jwt/__test__/index.test.js.map +1 -1
  51. package/lib/commonjs/sd-jwt/__test__/types.test.js +20 -11
  52. package/lib/commonjs/sd-jwt/__test__/types.test.js.map +1 -1
  53. package/lib/commonjs/sd-jwt/types.js +18 -5
  54. package/lib/commonjs/sd-jwt/types.js.map +1 -1
  55. package/lib/commonjs/utils/error-codes.js +1 -13
  56. package/lib/commonjs/utils/error-codes.js.map +1 -1
  57. package/lib/commonjs/utils/errors.js +2 -53
  58. package/lib/commonjs/utils/errors.js.map +1 -1
  59. package/lib/commonjs/utils/jwk.js +5 -1
  60. package/lib/commonjs/utils/jwk.js.map +1 -1
  61. package/lib/commonjs/utils/par.js +6 -12
  62. package/lib/commonjs/utils/par.js.map +1 -1
  63. package/lib/module/credential/index.js +1 -3
  64. package/lib/module/credential/index.js.map +1 -1
  65. package/lib/module/credential/issuance/02-get-issuer-config.js +42 -0
  66. package/lib/module/credential/issuance/02-get-issuer-config.js.map +1 -0
  67. package/lib/module/credential/issuance/03-start-user-authorization.js +16 -20
  68. package/lib/module/credential/issuance/03-start-user-authorization.js.map +1 -1
  69. package/lib/module/credential/issuance/04-complete-user-authorization.js +8 -8
  70. package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -1
  71. package/lib/module/credential/issuance/05-authorize-access.js +8 -9
  72. package/lib/module/credential/issuance/05-authorize-access.js.map +1 -1
  73. package/lib/module/credential/issuance/06-obtain-credential.js +18 -21
  74. package/lib/module/credential/issuance/06-obtain-credential.js.map +1 -1
  75. package/lib/module/credential/issuance/07-verify-and-parse-credential.js +3 -3
  76. package/lib/module/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
  77. package/lib/module/credential/issuance/README.md +18 -21
  78. package/lib/module/credential/issuance/index.js +2 -2
  79. package/lib/module/credential/issuance/index.js.map +1 -1
  80. package/lib/module/credential/issuance/types.js +1 -1
  81. package/lib/module/credential/issuance/types.js.map +1 -1
  82. package/lib/module/credential/presentation/01-start-flow.js +7 -2
  83. package/lib/module/credential/presentation/01-start-flow.js.map +1 -1
  84. package/lib/module/credential/presentation/02-evaluate-rp-trust.js +1 -1
  85. package/lib/module/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
  86. package/lib/module/credential/presentation/03-retrieve-jwks.js +61 -0
  87. package/lib/module/credential/presentation/03-retrieve-jwks.js.map +1 -0
  88. package/lib/module/credential/presentation/{03-get-request-object.js → 04-get-request-object.js} +26 -12
  89. package/lib/module/credential/presentation/04-get-request-object.js.map +1 -0
  90. package/lib/module/credential/presentation/{04-send-authorization-response.js → 05-send-authorization-response.js} +1 -1
  91. package/lib/module/credential/presentation/{04-send-authorization-response.js.map → 05-send-authorization-response.js.map} +1 -1
  92. package/lib/module/credential/presentation/README.md +74 -2
  93. package/lib/module/credential/presentation/index.js +4 -3
  94. package/lib/module/credential/presentation/index.js.map +1 -1
  95. package/lib/module/credential/presentation/types.js +5 -3
  96. package/lib/module/credential/presentation/types.js.map +1 -1
  97. package/lib/module/entity/openid-connect/issuer/index.js +20 -0
  98. package/lib/module/entity/openid-connect/issuer/index.js.map +1 -0
  99. package/lib/module/entity/openid-connect/issuer/types.js +47 -0
  100. package/lib/module/entity/openid-connect/issuer/types.js.map +1 -0
  101. package/lib/module/{trust → entity/trust}/chain.js +1 -1
  102. package/lib/module/entity/trust/chain.js.map +1 -0
  103. package/lib/module/{trust → entity/trust}/index.js +1 -1
  104. package/lib/module/entity/trust/index.js.map +1 -0
  105. package/lib/module/{trust → entity/trust}/types.js +2 -2
  106. package/lib/module/entity/trust/types.js.map +1 -0
  107. package/lib/module/index.js +1 -2
  108. package/lib/module/index.js.map +1 -1
  109. package/lib/module/pid/sd-jwt/types.js +1 -16
  110. package/lib/module/pid/sd-jwt/types.js.map +1 -1
  111. package/lib/module/sd-jwt/__test__/index.test.js +32 -23
  112. package/lib/module/sd-jwt/__test__/index.test.js.map +1 -1
  113. package/lib/module/sd-jwt/__test__/types.test.js +20 -11
  114. package/lib/module/sd-jwt/__test__/types.test.js.map +1 -1
  115. package/lib/module/sd-jwt/types.js +16 -4
  116. package/lib/module/sd-jwt/types.js.map +1 -1
  117. package/lib/module/utils/error-codes.js +1 -13
  118. package/lib/module/utils/error-codes.js.map +1 -1
  119. package/lib/module/utils/errors.js +0 -48
  120. package/lib/module/utils/errors.js.map +1 -1
  121. package/lib/module/utils/jwk.js +3 -0
  122. package/lib/module/utils/jwk.js.map +1 -1
  123. package/lib/module/utils/par.js +6 -12
  124. package/lib/module/utils/par.js.map +1 -1
  125. package/lib/typescript/credential/index.d.ts +1 -3
  126. package/lib/typescript/credential/index.d.ts.map +1 -1
  127. package/lib/typescript/credential/issuance/01-start-flow.d.ts +1 -1
  128. package/lib/typescript/credential/issuance/02-get-issuer-config.d.ts +32 -0
  129. package/lib/typescript/credential/issuance/02-get-issuer-config.d.ts.map +1 -0
  130. package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts +3 -3
  131. package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts.map +1 -1
  132. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts +8 -8
  133. package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts.map +1 -1
  134. package/lib/typescript/credential/issuance/05-authorize-access.d.ts +3 -3
  135. package/lib/typescript/credential/issuance/05-authorize-access.d.ts.map +1 -1
  136. package/lib/typescript/credential/issuance/06-obtain-credential.d.ts +3 -3
  137. package/lib/typescript/credential/issuance/06-obtain-credential.d.ts.map +1 -1
  138. package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts +3 -3
  139. package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts.map +1 -1
  140. package/lib/typescript/credential/issuance/index.d.ts +3 -3
  141. package/lib/typescript/credential/issuance/index.d.ts.map +1 -1
  142. package/lib/typescript/credential/issuance/types.d.ts +4 -9
  143. package/lib/typescript/credential/issuance/types.d.ts.map +1 -1
  144. package/lib/typescript/credential/presentation/01-start-flow.d.ts.map +1 -1
  145. package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts +1 -1
  146. package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts.map +1 -1
  147. package/lib/typescript/credential/presentation/03-retrieve-jwks.d.ts +41 -0
  148. package/lib/typescript/credential/presentation/03-retrieve-jwks.d.ts.map +1 -0
  149. package/lib/typescript/credential/presentation/{03-get-request-object.d.ts → 04-get-request-object.d.ts} +4 -4
  150. package/lib/typescript/credential/presentation/04-get-request-object.d.ts.map +1 -0
  151. package/lib/typescript/credential/presentation/{04-send-authorization-response.d.ts → 05-send-authorization-response.d.ts} +2 -2
  152. package/lib/typescript/credential/presentation/{04-send-authorization-response.d.ts.map → 05-send-authorization-response.d.ts.map} +1 -1
  153. package/lib/typescript/credential/presentation/index.d.ts +5 -4
  154. package/lib/typescript/credential/presentation/index.d.ts.map +1 -1
  155. package/lib/typescript/credential/presentation/types.d.ts +15 -15
  156. package/lib/typescript/entity/openid-connect/issuer/index.d.ts +12 -0
  157. package/lib/typescript/entity/openid-connect/issuer/index.d.ts.map +1 -0
  158. package/lib/typescript/entity/openid-connect/issuer/types.d.ts +641 -0
  159. package/lib/typescript/entity/openid-connect/issuer/types.d.ts.map +1 -0
  160. package/lib/typescript/entity/trust/chain.d.ts.map +1 -0
  161. package/lib/typescript/{trust → entity/trust}/index.d.ts +97 -97
  162. package/lib/typescript/entity/trust/index.d.ts.map +1 -0
  163. package/lib/typescript/{trust → entity/trust}/types.d.ts +597 -597
  164. package/lib/typescript/{trust → entity/trust}/types.d.ts.map +1 -1
  165. package/lib/typescript/index.d.ts +1 -2
  166. package/lib/typescript/index.d.ts.map +1 -1
  167. package/lib/typescript/pid/sd-jwt/types.d.ts +25 -103
  168. package/lib/typescript/pid/sd-jwt/types.d.ts.map +1 -1
  169. package/lib/typescript/sd-jwt/index.d.ts +60 -20
  170. package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
  171. package/lib/typescript/sd-jwt/types.d.ts +114 -24
  172. package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
  173. package/lib/typescript/utils/error-codes.d.ts +0 -12
  174. package/lib/typescript/utils/error-codes.d.ts.map +1 -1
  175. package/lib/typescript/utils/errors.d.ts +6 -37
  176. package/lib/typescript/utils/errors.d.ts.map +1 -1
  177. package/lib/typescript/utils/jwk.d.ts +135 -0
  178. package/lib/typescript/utils/jwk.d.ts.map +1 -1
  179. package/lib/typescript/utils/par.d.ts +1 -8
  180. package/lib/typescript/utils/par.d.ts.map +1 -1
  181. package/lib/typescript/wallet-instance-attestation/types.d.ts +12 -12
  182. package/package.json +1 -1
  183. package/src/credential/index.ts +1 -4
  184. package/src/credential/issuance/01-start-flow.ts +1 -1
  185. package/src/credential/issuance/02-get-issuer-config.ts +67 -0
  186. package/src/credential/issuance/03-start-user-authorization.ts +22 -30
  187. package/src/credential/issuance/04-complete-user-authorization.ts +11 -13
  188. package/src/credential/issuance/05-authorize-access.ts +8 -10
  189. package/src/credential/issuance/06-obtain-credential.ts +30 -31
  190. package/src/credential/issuance/07-verify-and-parse-credential.ts +6 -6
  191. package/src/credential/issuance/README.md +18 -21
  192. package/src/credential/issuance/index.ts +3 -6
  193. package/src/credential/issuance/types.ts +1 -1
  194. package/src/credential/presentation/01-start-flow.ts +8 -2
  195. package/src/credential/presentation/02-evaluate-rp-trust.ts +2 -2
  196. package/src/credential/presentation/03-retrieve-jwks.ts +73 -0
  197. package/src/credential/presentation/{03-get-request-object.ts → 04-get-request-object.ts} +33 -15
  198. package/src/credential/presentation/{04-send-authorization-response.ts → 05-send-authorization-response.ts} +1 -1
  199. package/src/credential/presentation/README.md +74 -2
  200. package/src/credential/presentation/index.ts +10 -2
  201. package/src/credential/presentation/types.ts +3 -3
  202. package/src/entity/openid-connect/issuer/index.ts +27 -0
  203. package/src/entity/openid-connect/issuer/types.ts +68 -0
  204. package/src/{trust → entity/trust}/chain.ts +2 -2
  205. package/src/{trust → entity/trust}/index.ts +1 -1
  206. package/src/{trust → entity/trust}/types.ts +2 -2
  207. package/src/index.ts +0 -2
  208. package/src/pid/sd-jwt/types.ts +1 -18
  209. package/src/sd-jwt/__test__/index.test.ts +47 -37
  210. package/src/sd-jwt/__test__/types.test.ts +26 -16
  211. package/src/sd-jwt/types.ts +16 -2
  212. package/src/utils/error-codes.ts +0 -12
  213. package/src/utils/errors.ts +12 -86
  214. package/src/utils/jwk.ts +5 -0
  215. package/src/utils/par.ts +3 -10
  216. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js +0 -27
  217. package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js.map +0 -1
  218. package/lib/commonjs/credential/presentation/03-get-request-object.js.map +0 -1
  219. package/lib/commonjs/credential/status/01-start-flow.js +0 -2
  220. package/lib/commonjs/credential/status/01-start-flow.js.map +0 -1
  221. package/lib/commonjs/credential/status/02-status-attestation.js +0 -72
  222. package/lib/commonjs/credential/status/02-status-attestation.js.map +0 -1
  223. package/lib/commonjs/credential/status/03-verify-and-parse-status-attestation.js +0 -52
  224. package/lib/commonjs/credential/status/03-verify-and-parse-status-attestation.js.map +0 -1
  225. package/lib/commonjs/credential/status/README.md +0 -67
  226. package/lib/commonjs/credential/status/index.js +0 -27
  227. package/lib/commonjs/credential/status/index.js.map +0 -1
  228. package/lib/commonjs/credential/status/types.js +0 -48
  229. package/lib/commonjs/credential/status/types.js.map +0 -1
  230. package/lib/commonjs/credential/trustmark/README.md +0 -62
  231. package/lib/commonjs/credential/trustmark/get-credential-trustmark.js +0 -81
  232. package/lib/commonjs/credential/trustmark/get-credential-trustmark.js.map +0 -1
  233. package/lib/commonjs/credential/trustmark/index.js +0 -13
  234. package/lib/commonjs/credential/trustmark/index.js.map +0 -1
  235. package/lib/commonjs/trust/chain.js.map +0 -1
  236. package/lib/commonjs/trust/index.js.map +0 -1
  237. package/lib/commonjs/trust/types.js.map +0 -1
  238. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js +0 -20
  239. package/lib/module/credential/issuance/02-evaluate-issuer-trust.js.map +0 -1
  240. package/lib/module/credential/presentation/03-get-request-object.js.map +0 -1
  241. package/lib/module/credential/status/01-start-flow.js +0 -2
  242. package/lib/module/credential/status/01-start-flow.js.map +0 -1
  243. package/lib/module/credential/status/02-status-attestation.js +0 -64
  244. package/lib/module/credential/status/02-status-attestation.js.map +0 -1
  245. package/lib/module/credential/status/03-verify-and-parse-status-attestation.js +0 -46
  246. package/lib/module/credential/status/03-verify-and-parse-status-attestation.js.map +0 -1
  247. package/lib/module/credential/status/README.md +0 -67
  248. package/lib/module/credential/status/index.js +0 -5
  249. package/lib/module/credential/status/index.js.map +0 -1
  250. package/lib/module/credential/status/types.js +0 -40
  251. package/lib/module/credential/status/types.js.map +0 -1
  252. package/lib/module/credential/trustmark/README.md +0 -62
  253. package/lib/module/credential/trustmark/get-credential-trustmark.js +0 -72
  254. package/lib/module/credential/trustmark/get-credential-trustmark.js.map +0 -1
  255. package/lib/module/credential/trustmark/index.js +0 -3
  256. package/lib/module/credential/trustmark/index.js.map +0 -1
  257. package/lib/module/trust/chain.js.map +0 -1
  258. package/lib/module/trust/index.js.map +0 -1
  259. package/lib/module/trust/types.js.map +0 -1
  260. package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts +0 -19
  261. package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts.map +0 -1
  262. package/lib/typescript/credential/presentation/03-get-request-object.d.ts.map +0 -1
  263. package/lib/typescript/credential/status/01-start-flow.d.ts +0 -10
  264. package/lib/typescript/credential/status/01-start-flow.d.ts.map +0 -1
  265. package/lib/typescript/credential/status/02-status-attestation.d.ts +0 -19
  266. package/lib/typescript/credential/status/02-status-attestation.d.ts.map +0 -1
  267. package/lib/typescript/credential/status/03-verify-and-parse-status-attestation.d.ts +0 -24
  268. package/lib/typescript/credential/status/03-verify-and-parse-status-attestation.d.ts.map +0 -1
  269. package/lib/typescript/credential/status/index.d.ts +0 -7
  270. package/lib/typescript/credential/status/index.d.ts.map +0 -1
  271. package/lib/typescript/credential/status/types.d.ts +0 -305
  272. package/lib/typescript/credential/status/types.d.ts.map +0 -1
  273. package/lib/typescript/credential/trustmark/get-credential-trustmark.d.ts +0 -52
  274. package/lib/typescript/credential/trustmark/get-credential-trustmark.d.ts.map +0 -1
  275. package/lib/typescript/credential/trustmark/index.d.ts +0 -4
  276. package/lib/typescript/credential/trustmark/index.d.ts.map +0 -1
  277. package/lib/typescript/trust/chain.d.ts.map +0 -1
  278. package/lib/typescript/trust/index.d.ts.map +0 -1
  279. package/src/credential/issuance/02-evaluate-issuer-trust.ts +0 -32
  280. package/src/credential/status/01-start-flow.ts +0 -9
  281. package/src/credential/status/02-status-attestation.ts +0 -102
  282. package/src/credential/status/03-verify-and-parse-status-attestation.ts +0 -60
  283. package/src/credential/status/README.md +0 -67
  284. package/src/credential/status/index.ts +0 -22
  285. package/src/credential/status/types.ts +0 -43
  286. package/src/credential/trustmark/README.md +0 -62
  287. package/src/credential/trustmark/get-credential-trustmark.ts +0 -120
  288. package/src/credential/trustmark/index.ts +0 -8
  289. /package/lib/typescript/{trust → entity/trust}/chain.d.ts +0 -0
@@ -66,9 +66,6 @@ export declare const getWalletProviderEntityConfiguration: (entityBaseUrl: Param
66
66
  };
67
67
  payload: {
68
68
  iss: string;
69
- sub: string;
70
- iat: number;
71
- exp: number;
72
69
  jwks: {
73
70
  keys: {
74
71
  kty: "RSA" | "EC";
@@ -95,6 +92,9 @@ export declare const getWalletProviderEntityConfiguration: (entityBaseUrl: Param
95
92
  x5u?: string | undefined;
96
93
  }[];
97
94
  };
95
+ iat: number;
96
+ exp: number;
97
+ sub: string;
98
98
  metadata: {
99
99
  federation_entity: {
100
100
  federation_fetch_endpoint?: string | undefined;
@@ -166,9 +166,6 @@ export declare const getCredentialIssuerEntityConfiguration: (entityBaseUrl: Par
166
166
  };
167
167
  payload: {
168
168
  iss: string;
169
- sub: string;
170
- iat: number;
171
- exp: number;
172
169
  jwks: {
173
170
  keys: {
174
171
  kty: "RSA" | "EC";
@@ -195,6 +192,9 @@ export declare const getCredentialIssuerEntityConfiguration: (entityBaseUrl: Par
195
192
  x5u?: string | undefined;
196
193
  }[];
197
194
  };
195
+ iat: number;
196
+ exp: number;
197
+ sub: string;
198
198
  metadata: {
199
199
  federation_entity: {
200
200
  federation_fetch_endpoint?: string | undefined;
@@ -247,32 +247,6 @@ export declare const getCredentialIssuerEntityConfiguration: (entityBaseUrl: Par
247
247
  };
248
248
  metadata: {
249
249
  openid_credential_issuer: {
250
- jwks: {
251
- keys: {
252
- kty: "RSA" | "EC";
253
- alg?: string | undefined;
254
- crv?: string | undefined;
255
- d?: string | undefined;
256
- dp?: string | undefined;
257
- dq?: string | undefined;
258
- e?: string | undefined;
259
- ext?: boolean | undefined;
260
- k?: string | undefined;
261
- key_ops?: string[] | undefined;
262
- kid?: string | undefined;
263
- n?: string | undefined;
264
- p?: string | undefined;
265
- q?: string | undefined;
266
- qi?: string | undefined;
267
- use?: string | undefined;
268
- x?: string | undefined;
269
- y?: string | undefined;
270
- x5c?: string[] | undefined;
271
- x5t?: string | undefined;
272
- "x5t#S256"?: string | undefined;
273
- x5u?: string | undefined;
274
- }[];
275
- };
276
250
  display: {
277
251
  name: string;
278
252
  locale: string;
@@ -281,10 +255,6 @@ export declare const getCredentialIssuerEntityConfiguration: (entityBaseUrl: Par
281
255
  alt_text: string;
282
256
  } | undefined;
283
257
  }[];
284
- credential_issuer: string;
285
- credential_endpoint: string;
286
- revocation_endpoint: string;
287
- status_attestation_endpoint: string;
288
258
  credential_configurations_supported: Record<string, {
289
259
  display: {
290
260
  name: string;
@@ -296,28 +266,59 @@ export declare const getCredentialIssuerEntityConfiguration: (entityBaseUrl: Par
296
266
  background_color?: string | undefined;
297
267
  text_color?: string | undefined;
298
268
  }[];
299
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
300
269
  scope: string;
301
270
  cryptographic_binding_methods_supported: string[];
271
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
302
272
  credential_signing_alg_values_supported: string[];
303
273
  claims?: Record<string, {
304
- value_type: string;
305
274
  display: {
306
275
  name: string;
307
276
  locale: string;
308
277
  }[];
278
+ value_type: string;
309
279
  }> | undefined;
310
280
  authentic_source?: string | undefined;
311
281
  issuance_errors_supported?: Record<string, {
312
282
  display: {
313
- locale: string;
314
283
  title: string;
284
+ locale: string;
315
285
  description: string;
316
286
  }[];
317
287
  }> | undefined;
318
288
  }>;
289
+ jwks: {
290
+ keys: {
291
+ kty: "RSA" | "EC";
292
+ alg?: string | undefined;
293
+ crv?: string | undefined;
294
+ d?: string | undefined;
295
+ dp?: string | undefined;
296
+ dq?: string | undefined;
297
+ e?: string | undefined;
298
+ ext?: boolean | undefined;
299
+ k?: string | undefined;
300
+ key_ops?: string[] | undefined;
301
+ kid?: string | undefined;
302
+ n?: string | undefined;
303
+ p?: string | undefined;
304
+ q?: string | undefined;
305
+ qi?: string | undefined;
306
+ use?: string | undefined;
307
+ x?: string | undefined;
308
+ y?: string | undefined;
309
+ x5c?: string[] | undefined;
310
+ x5t?: string | undefined;
311
+ "x5t#S256"?: string | undefined;
312
+ x5u?: string | undefined;
313
+ }[];
314
+ };
315
+ credential_issuer: string;
316
+ credential_endpoint: string;
317
+ revocation_endpoint: string;
318
+ status_attestation_endpoint: string;
319
319
  };
320
320
  oauth_authorization_server: {
321
+ pushed_authorization_request_endpoint: string;
321
322
  jwks: {
322
323
  keys: {
323
324
  kty: "RSA" | "EC";
@@ -345,8 +346,8 @@ export declare const getCredentialIssuerEntityConfiguration: (entityBaseUrl: Par
345
346
  }[];
346
347
  };
347
348
  authorization_endpoint: string;
348
- pushed_authorization_request_endpoint: string;
349
349
  token_endpoint: string;
350
+ request_object_signing_alg_values_supported: string[];
350
351
  client_registration_types_supported: string[];
351
352
  code_challenge_methods_supported: string[];
352
353
  acr_values_supported: string[];
@@ -356,7 +357,6 @@ export declare const getCredentialIssuerEntityConfiguration: (entityBaseUrl: Par
356
357
  response_modes_supported: string[];
357
358
  token_endpoint_auth_methods_supported: string[];
358
359
  token_endpoint_auth_signing_alg_values_supported: string[];
359
- request_object_signing_alg_values_supported: string[];
360
360
  dpop_signing_alg_values_supported?: string[] | undefined;
361
361
  introspection_endpoint?: string | undefined;
362
362
  authorization_details_types_supported?: string[] | undefined;
@@ -408,9 +408,6 @@ export declare const getTrustAnchorEntityConfiguration: (entityBaseUrl: Paramete
408
408
  };
409
409
  payload: {
410
410
  iss: string;
411
- sub: string;
412
- iat: number;
413
- exp: number;
414
411
  jwks: {
415
412
  keys: {
416
413
  kty: "RSA" | "EC";
@@ -437,6 +434,9 @@ export declare const getTrustAnchorEntityConfiguration: (entityBaseUrl: Paramete
437
434
  x5u?: string | undefined;
438
435
  }[];
439
436
  };
437
+ iat: number;
438
+ exp: number;
439
+ sub: string;
440
440
  metadata: {
441
441
  federation_entity: {
442
442
  federation_fetch_endpoint?: string | undefined;
@@ -468,9 +468,6 @@ export declare const getRelyingPartyEntityConfiguration: (entityBaseUrl: Paramet
468
468
  };
469
469
  payload: {
470
470
  iss: string;
471
- sub: string;
472
- iat: number;
473
- exp: number;
474
471
  jwks: {
475
472
  keys: {
476
473
  kty: "RSA" | "EC";
@@ -497,6 +494,9 @@ export declare const getRelyingPartyEntityConfiguration: (entityBaseUrl: Paramet
497
494
  x5u?: string | undefined;
498
495
  }[];
499
496
  };
497
+ iat: number;
498
+ exp: number;
499
+ sub: string;
500
500
  metadata: {
501
501
  federation_entity: {
502
502
  federation_fetch_endpoint?: string | undefined;
@@ -565,9 +565,6 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
565
565
  };
566
566
  payload: {
567
567
  iss: string;
568
- sub: string;
569
- iat: number;
570
- exp: number;
571
568
  jwks: {
572
569
  keys: {
573
570
  kty: "RSA" | "EC";
@@ -594,6 +591,9 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
594
591
  x5u?: string | undefined;
595
592
  }[];
596
593
  };
594
+ iat: number;
595
+ exp: number;
596
+ sub: string;
597
597
  metadata: {
598
598
  federation_entity: {
599
599
  federation_fetch_endpoint?: string | undefined;
@@ -624,9 +624,6 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
624
624
  };
625
625
  payload: {
626
626
  iss: string;
627
- sub: string;
628
- iat: number;
629
- exp: number;
630
627
  jwks: {
631
628
  keys: {
632
629
  kty: "RSA" | "EC";
@@ -653,6 +650,9 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
653
650
  x5u?: string | undefined;
654
651
  }[];
655
652
  };
653
+ iat: number;
654
+ exp: number;
655
+ sub: string;
656
656
  metadata: {
657
657
  federation_entity: {
658
658
  federation_fetch_endpoint?: string | undefined;
@@ -705,32 +705,6 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
705
705
  };
706
706
  metadata: {
707
707
  openid_credential_issuer: {
708
- jwks: {
709
- keys: {
710
- kty: "RSA" | "EC";
711
- alg?: string | undefined;
712
- crv?: string | undefined;
713
- d?: string | undefined;
714
- dp?: string | undefined;
715
- dq?: string | undefined;
716
- e?: string | undefined;
717
- ext?: boolean | undefined;
718
- k?: string | undefined;
719
- key_ops?: string[] | undefined;
720
- kid?: string | undefined;
721
- n?: string | undefined;
722
- p?: string | undefined;
723
- q?: string | undefined;
724
- qi?: string | undefined;
725
- use?: string | undefined;
726
- x?: string | undefined;
727
- y?: string | undefined;
728
- x5c?: string[] | undefined;
729
- x5t?: string | undefined;
730
- "x5t#S256"?: string | undefined;
731
- x5u?: string | undefined;
732
- }[];
733
- };
734
708
  display: {
735
709
  name: string;
736
710
  locale: string;
@@ -739,10 +713,6 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
739
713
  alt_text: string;
740
714
  } | undefined;
741
715
  }[];
742
- credential_issuer: string;
743
- credential_endpoint: string;
744
- revocation_endpoint: string;
745
- status_attestation_endpoint: string;
746
716
  credential_configurations_supported: Record<string, {
747
717
  display: {
748
718
  name: string;
@@ -754,28 +724,59 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
754
724
  background_color?: string | undefined;
755
725
  text_color?: string | undefined;
756
726
  }[];
757
- format: "vc+sd-jwt" | "vc+mdoc-cbor";
758
727
  scope: string;
759
728
  cryptographic_binding_methods_supported: string[];
729
+ format: "vc+sd-jwt" | "vc+mdoc-cbor";
760
730
  credential_signing_alg_values_supported: string[];
761
731
  claims?: Record<string, {
762
- value_type: string;
763
732
  display: {
764
733
  name: string;
765
734
  locale: string;
766
735
  }[];
736
+ value_type: string;
767
737
  }> | undefined;
768
738
  authentic_source?: string | undefined;
769
739
  issuance_errors_supported?: Record<string, {
770
740
  display: {
771
- locale: string;
772
741
  title: string;
742
+ locale: string;
773
743
  description: string;
774
744
  }[];
775
745
  }> | undefined;
776
746
  }>;
747
+ jwks: {
748
+ keys: {
749
+ kty: "RSA" | "EC";
750
+ alg?: string | undefined;
751
+ crv?: string | undefined;
752
+ d?: string | undefined;
753
+ dp?: string | undefined;
754
+ dq?: string | undefined;
755
+ e?: string | undefined;
756
+ ext?: boolean | undefined;
757
+ k?: string | undefined;
758
+ key_ops?: string[] | undefined;
759
+ kid?: string | undefined;
760
+ n?: string | undefined;
761
+ p?: string | undefined;
762
+ q?: string | undefined;
763
+ qi?: string | undefined;
764
+ use?: string | undefined;
765
+ x?: string | undefined;
766
+ y?: string | undefined;
767
+ x5c?: string[] | undefined;
768
+ x5t?: string | undefined;
769
+ "x5t#S256"?: string | undefined;
770
+ x5u?: string | undefined;
771
+ }[];
772
+ };
773
+ credential_issuer: string;
774
+ credential_endpoint: string;
775
+ revocation_endpoint: string;
776
+ status_attestation_endpoint: string;
777
777
  };
778
778
  oauth_authorization_server: {
779
+ pushed_authorization_request_endpoint: string;
779
780
  jwks: {
780
781
  keys: {
781
782
  kty: "RSA" | "EC";
@@ -803,8 +804,8 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
803
804
  }[];
804
805
  };
805
806
  authorization_endpoint: string;
806
- pushed_authorization_request_endpoint: string;
807
807
  token_endpoint: string;
808
+ request_object_signing_alg_values_supported: string[];
808
809
  client_registration_types_supported: string[];
809
810
  code_challenge_methods_supported: string[];
810
811
  acr_values_supported: string[];
@@ -814,7 +815,6 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
814
815
  response_modes_supported: string[];
815
816
  token_endpoint_auth_methods_supported: string[];
816
817
  token_endpoint_auth_signing_alg_values_supported: string[];
817
- request_object_signing_alg_values_supported: string[];
818
818
  dpop_signing_alg_values_supported?: string[] | undefined;
819
819
  introspection_endpoint?: string | undefined;
820
820
  authorization_details_types_supported?: string[] | undefined;
@@ -865,9 +865,6 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
865
865
  };
866
866
  payload: {
867
867
  iss: string;
868
- sub: string;
869
- iat: number;
870
- exp: number;
871
868
  jwks: {
872
869
  keys: {
873
870
  kty: "RSA" | "EC";
@@ -894,6 +891,9 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
894
891
  x5u?: string | undefined;
895
892
  }[];
896
893
  };
894
+ iat: number;
895
+ exp: number;
896
+ sub: string;
897
897
  metadata: {
898
898
  federation_entity: {
899
899
  federation_fetch_endpoint?: string | undefined;
@@ -961,9 +961,6 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
961
961
  };
962
962
  payload: {
963
963
  iss: string;
964
- sub: string;
965
- iat: number;
966
- exp: number;
967
964
  jwks: {
968
965
  keys: {
969
966
  kty: "RSA" | "EC";
@@ -990,6 +987,9 @@ export declare const getEntityConfiguration: (entityBaseUrl: Parameters<typeof f
990
987
  x5u?: string | undefined;
991
988
  }[];
992
989
  };
990
+ iat: number;
991
+ exp: number;
992
+ sub: string;
993
993
  metadata: {
994
994
  federation_entity: {
995
995
  federation_fetch_endpoint?: string | undefined;
@@ -1073,9 +1073,6 @@ export declare function getEntityStatement(accreditationBodyBaseUrl: string, sub
1073
1073
  };
1074
1074
  payload: {
1075
1075
  iss: string;
1076
- sub: string;
1077
- iat: number;
1078
- exp: number;
1079
1076
  jwks: {
1080
1077
  keys: {
1081
1078
  kty: "RSA" | "EC";
@@ -1102,6 +1099,9 @@ export declare function getEntityStatement(accreditationBodyBaseUrl: string, sub
1102
1099
  x5u?: string | undefined;
1103
1100
  }[];
1104
1101
  };
1102
+ iat: number;
1103
+ exp: number;
1104
+ sub: string;
1105
1105
  trust_marks: {
1106
1106
  id: string;
1107
1107
  trust_mark: string;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/entity/trust/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL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