@pagopa/io-wallet-oid4vp 1.5.8 → 2.0.0-apt

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/index.d.ts CHANGED
@@ -1,9 +1,7 @@
1
- import { JwtSignerFederation, JwtSignerX5c, CreateJarRequestOptions, CallbackContext, JarAuthorizationRequest, CreateJarRequestResult, Jwk, JwkSet } from '@pagopa/io-wallet-oauth2';
2
- import { ItWalletSpecsVersion, IoWalletSdkConfig, HashCallback } from '@pagopa/io-wallet-utils';
1
+ import { CreateJarRequestOptions, JarAuthorizationRequest, CreateJarRequestResult } from '@pagopa/io-wallet-oauth2';
2
+ import { ItWalletSpecsVersion, JwtSignerFederation, JwtSignerX5c, CallbackContext, IoWalletSdkConfig, HashCallback, Jwk, JwkSet, JwtSigner } from '@pagopa/io-wallet-utils';
3
3
  import z$1, { z } from 'zod';
4
- import { CallbackContext as CallbackContext$1 } from '@openid4vc/oauth2';
5
4
  import { ItWalletCredentialVerifierMetadata, ItWalletCredentialVerifierMetadataV1_3 } from '@pagopa/io-wallet-oid-federation';
6
- export { CreateOpenid4vpAuthorizationResponseOptions, CreateOpenid4vpAuthorizationResponseResult, VpToken, createOpenid4vpAuthorizationResponse } from '@openid4vc/openid4vp';
7
5
 
8
6
  /**
9
7
  * Zod parser that describes a JWT payload
@@ -20,16 +18,34 @@ declare const zOpenid4vpAuthorizationRequestPayload: z.ZodIntersection<z.ZodObje
20
18
  jwks: z.ZodObject<{
21
19
  keys: z.ZodArray<z.ZodObject<{
22
20
  alg: z.ZodOptional<z.ZodString>;
21
+ crv: z.ZodOptional<z.ZodString>;
22
+ d: z.ZodOptional<z.ZodString>;
23
+ dp: z.ZodOptional<z.ZodString>;
24
+ dq: z.ZodOptional<z.ZodString>;
25
+ e: z.ZodOptional<z.ZodString>;
26
+ ext: z.ZodOptional<z.ZodBoolean>;
27
+ k: z.ZodOptional<z.ZodString>;
23
28
  key_ops: z.ZodOptional<z.ZodArray<z.ZodString>>;
24
- kid: z.ZodString;
25
29
  kty: z.ZodString;
30
+ n: z.ZodOptional<z.ZodString>;
31
+ oth: z.ZodOptional<z.ZodArray<z.ZodObject<{
32
+ d: z.ZodOptional<z.ZodString>;
33
+ r: z.ZodOptional<z.ZodString>;
34
+ t: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$loose>>>;
36
+ p: z.ZodOptional<z.ZodString>;
37
+ q: z.ZodOptional<z.ZodString>;
38
+ qi: z.ZodOptional<z.ZodString>;
26
39
  use: z.ZodOptional<z.ZodString>;
40
+ x: z.ZodOptional<z.ZodString>;
27
41
  x5c: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
42
  x5t: z.ZodOptional<z.ZodString>;
29
43
  "x5t#S256": z.ZodOptional<z.ZodString>;
30
44
  x5u: z.ZodOptional<z.ZodString>;
45
+ y: z.ZodOptional<z.ZodString>;
46
+ kid: z.ZodString;
31
47
  }, z.core.$loose>>;
32
- }, z.core.$strip>;
48
+ }, z.core.$loose>;
33
49
  logo_uri: z.ZodOptional<z.ZodURL>;
34
50
  redirect_uris: z.ZodOptional<z.ZodArray<z.ZodURL>>;
35
51
  request_uris: z.ZodOptional<z.ZodArray<z.ZodURL>>;
@@ -55,7 +71,7 @@ declare const zOpenid4vpAuthorizationRequestPayload: z.ZodIntersection<z.ZodObje
55
71
  transaction_data_hashes_alg: z.ZodOptional<z.ZodArray<z.ZodString>>;
56
72
  wallet_nonce: z.ZodOptional<z.ZodString>;
57
73
  }, z.core.$loose>, z.ZodObject<{
58
- aud: z.ZodOptional<z.ZodString>;
74
+ aud: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>;
59
75
  cnf: z.ZodOptional<z.ZodObject<{
60
76
  jkt: z.ZodOptional<z.ZodString>;
61
77
  jwk: z.ZodOptional<z.ZodObject<{
@@ -95,6 +111,7 @@ declare const zOpenid4vpAuthorizationRequestPayload: z.ZodIntersection<z.ZodObje
95
111
  nbf: z.ZodOptional<z.ZodNumber>;
96
112
  nonce: z.ZodOptional<z.ZodString>;
97
113
  status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
114
+ sub: z.ZodOptional<z.ZodString>;
98
115
  trust_chain: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
99
116
  }, z.core.$strip>>;
100
117
  type Openid4vpAuthorizationRequestPayload = z.infer<typeof zOpenid4vpAuthorizationRequestPayload>;
@@ -121,7 +138,8 @@ type BaseJarOptions<TSigner extends JwtSignerFederation | JwtSignerX5c> = {
121
138
  type JarOptionsV1_0 = BaseJarOptions<JwtSignerFederation>;
122
139
  type JarOptionsV1_3 = BaseJarOptions<JwtSignerFederation | JwtSignerX5c>;
123
140
  type JarOptionsV1_4 = JarOptionsV1_3;
124
- type JarOptions = JarOptionsV1_0 | JarOptionsV1_3 | JarOptionsV1_4;
141
+ type JarOptionsAPTITUDE = JarOptionsV1_4;
142
+ type JarOptions = JarOptionsAPTITUDE | JarOptionsV1_0 | JarOptionsV1_3 | JarOptionsV1_4;
125
143
  interface BaseCreateAuthorizationRequestOptions<V extends ItWalletSpecsVersion, TJar extends JarOptions> {
126
144
  /**
127
145
  * Authorization request payload to be validated and serialized.
@@ -149,7 +167,8 @@ interface BaseCreateAuthorizationRequestOptions<V extends ItWalletSpecsVersion,
149
167
  type CreateAuthorizationRequestOptionsV1_0 = BaseCreateAuthorizationRequestOptions<ItWalletSpecsVersion.V1_0, JarOptionsV1_0>;
150
168
  type CreateAuthorizationRequestOptionsV1_3 = BaseCreateAuthorizationRequestOptions<ItWalletSpecsVersion.V1_3, JarOptionsV1_3>;
151
169
  type CreateAuthorizationRequestOptionsV1_4 = BaseCreateAuthorizationRequestOptions<ItWalletSpecsVersion.V1_4, JarOptionsV1_4>;
152
- type CreateAuthorizationRequestOptions = CreateAuthorizationRequestOptionsV1_0 | CreateAuthorizationRequestOptionsV1_3 | CreateAuthorizationRequestOptionsV1_4;
170
+ type CreateAuthorizationRequestOptionsAPTITUDE = BaseCreateAuthorizationRequestOptions<ItWalletSpecsVersion.APTITUDE, JarOptionsAPTITUDE>;
171
+ type CreateAuthorizationRequestOptions = CreateAuthorizationRequestOptionsAPTITUDE | CreateAuthorizationRequestOptionsV1_0 | CreateAuthorizationRequestOptionsV1_3 | CreateAuthorizationRequestOptionsV1_4;
153
172
  interface BaseCreateAuthorizationRequestResult<TJar extends JarOptions> {
154
173
  authorizationRequest: string;
155
174
  authorizationRequestObject: JarAuthorizationRequest;
@@ -159,7 +178,8 @@ interface BaseCreateAuthorizationRequestResult<TJar extends JarOptions> {
159
178
  type CreateAuthorizationRequestResultV1_0 = BaseCreateAuthorizationRequestResult<JarOptionsV1_0>;
160
179
  type CreateAuthorizationRequestResultV1_3 = BaseCreateAuthorizationRequestResult<JarOptionsV1_3>;
161
180
  type CreateAuthorizationRequestResultV1_4 = BaseCreateAuthorizationRequestResult<JarOptionsV1_4>;
162
- type CreateAuthorizationRequestResult = CreateAuthorizationRequestResultV1_0 | CreateAuthorizationRequestResultV1_3 | CreateAuthorizationRequestResultV1_4;
181
+ type CreateAuthorizationRequestResultAPTITUDE = BaseCreateAuthorizationRequestResult<JarOptionsAPTITUDE>;
182
+ type CreateAuthorizationRequestResult = CreateAuthorizationRequestResultAPTITUDE | CreateAuthorizationRequestResultV1_0 | CreateAuthorizationRequestResultV1_3 | CreateAuthorizationRequestResultV1_4;
163
183
  /**
164
184
  * Creates an OpenID4VP authorization request URL for the configured IT-Wallet version.
165
185
  *
@@ -203,7 +223,7 @@ interface FetchAuthorizationRequestOptions {
203
223
  * Callback functions for making HTTP requests
204
224
  * Allows for custom fetch implementation
205
225
  */
206
- callbacks: Pick<CallbackContext$1, "fetch">;
226
+ callbacks: Pick<CallbackContext, "fetch">;
207
227
  /**
208
228
  * Optional wallet metadata to send when request_uri_method=post.
209
229
  * If not provided and POST is required, sends an empty body (basic implementation).
@@ -285,7 +305,7 @@ declare function createParsedQrCode(authorizeRequestUrl: string): ParsedQrCode;
285
305
  * @throws {Error} If the underlying fetch/createFetcher call fails (for example, due to network errors)
286
306
  */
287
307
  declare function fetchRequestObjectJwt(requestUri: string, options: {
288
- fetch: CallbackContext$1["fetch"];
308
+ fetch: CallbackContext["fetch"];
289
309
  method: "get" | "post";
290
310
  walletMetadata?: FetchAuthorizationRequestOptions["walletMetadata"];
291
311
  walletNonce?: string;
@@ -369,7 +389,7 @@ interface ParseAuthorizeRequestOptions {
369
389
  * Optional callback context for JWT signature verification and hashing x509 client_id for digest comparison.
370
390
  * If not provided, signature verification is skipped or hash skips the x509_hash digest comparison.
371
391
  */
372
- callbacks?: Partial<Pick<CallbackContext$1, "hash" | "verifyJwt">> & Partial<X509CertificateBinding>;
392
+ callbacks?: Partial<Pick<CallbackContext, "hash" | "verifyJwt">> & Partial<X509CertificateBinding>;
373
393
  config: IoWalletSdkConfig;
374
394
  /**
375
395
  * The Authorization Request Object JWT.
@@ -411,7 +431,7 @@ interface ParsedAuthorizeRequestResult {
411
431
  * @param options {@link ParseAuthorizeRequestOptions}
412
432
  * @returns A {@link ParsedAuthorizeRequestResult} containing the RP required credentials payload and the {@link Openid4vpAuthorizationRequestHeader} JWT header
413
433
  * @throws {ValidationError} in case there are errors validating the Request Object structure
414
- * @throws {Oauth2JwtParseError} in case the request object jwt is malformed (e.g missing header, bad encoding)
434
+ * @throws {JwtParseError} in case the request object jwt is malformed (e.g missing header, bad encoding)
415
435
  * @throws {@link ParseAuthorizeRequestError} in case the JWT signature is invalid (when verifyJwt is provided) or there are unexpected errors
416
436
  */
417
437
  declare function parseAuthorizeRequest(options: ParseAuthorizeRequestOptions): Promise<ParsedAuthorizeRequestResult>;
@@ -454,7 +474,7 @@ declare function validateAuthorizationRequestParams(params: AuthorizationRequest
454
474
  }) & typeof params;
455
475
 
456
476
  declare const zVpToken: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>;
457
- type VpToken = z.infer<typeof zVpToken>;
477
+ type VpToken$1 = z.infer<typeof zVpToken>;
458
478
 
459
479
  declare const zOpenid4vpAuthorizationResponse: z$1.ZodObject<{
460
480
  state: z$1.ZodOptional<z$1.ZodString>;
@@ -503,7 +523,7 @@ interface CreateAuthorizationResponseOptions {
503
523
  * Array containing the vp_tokens of the credentials
504
524
  * to present
505
525
  */
506
- vp_token: VpToken;
526
+ vp_token: VpToken$1;
507
527
  }
508
528
  type CreateAuthorizationResponseOptionsV1_0 = {
509
529
  config: IoWalletSdkConfig<ItWalletSpecsVersion.V1_0>;
@@ -546,6 +566,74 @@ interface CreateAuthorizationResponseResult {
546
566
  */
547
567
  declare function createAuthorizationResponse(options: CreateAuthorizationResponseVersionedOptions): Promise<CreateAuthorizationResponseResult>;
548
568
 
569
+ type VpTokenPresentationEntry = Record<string, unknown> | string;
570
+ type VpToken = [VpTokenPresentationEntry, ...VpTokenPresentationEntry[]] | Record<string, [VpTokenPresentationEntry, ...VpTokenPresentationEntry[]] | VpTokenPresentationEntry> | VpTokenPresentationEntry;
571
+ interface Openid4vpAuthorizationResponsePayload {
572
+ [key: string]: unknown;
573
+ access_token?: string;
574
+ expires_in?: number;
575
+ id_token?: string;
576
+ presentation_submission?: Record<string, unknown> | string;
577
+ refresh_token?: string;
578
+ state?: string;
579
+ token_type?: string;
580
+ vp_token: VpToken;
581
+ }
582
+ interface JarmClientMetadata {
583
+ authorization_encrypted_response_alg?: string;
584
+ authorization_encrypted_response_enc?: string;
585
+ authorization_signed_response_alg?: string;
586
+ encrypted_response_enc_values_supported?: string[];
587
+ jwks?: JwkSet;
588
+ jwks_uri?: string;
589
+ }
590
+ interface JarmServerMetadata {
591
+ authorization_encryption_alg_values_supported: string[];
592
+ authorization_encryption_enc_values_supported: string[];
593
+ authorization_signed_response_alg_values_supported?: string[];
594
+ }
595
+ interface CreateOpenid4vpAuthorizationResponseOptions {
596
+ authorizationRequestPayload: Openid4vpAuthorizationRequestPayload;
597
+ authorizationResponsePayload: {
598
+ state?: never;
599
+ } & Openid4vpAuthorizationResponsePayload;
600
+ callbacks: Pick<CallbackContext, "encryptJwe" | "fetch" | "signJwt">;
601
+ /**
602
+ * Verifier metadata resolved and verified outside the request. Required when the
603
+ * client_id refers to an OpenID Federation entity, whose metadata must come from
604
+ * the Trust Chain rather than the request's `client_metadata`.
605
+ */
606
+ clientMetadata?: JarmClientMetadata;
607
+ jarm?: {
608
+ audience?: string;
609
+ authorizationServer?: string;
610
+ encryption?: {
611
+ jwk?: Jwk;
612
+ nonce: string;
613
+ };
614
+ /**
615
+ * Lifetime of the signed JARM response, in seconds from now; `exp` is set to
616
+ * now + this value. Defaults to 600 seconds.
617
+ */
618
+ expiresInSeconds?: number;
619
+ jwtSigner?: JwtSigner;
620
+ serverMetadata: JarmServerMetadata;
621
+ };
622
+ origin?: string;
623
+ }
624
+ interface CreateOpenid4vpAuthorizationResponseResult {
625
+ authorizationResponsePayload: Openid4vpAuthorizationResponsePayload;
626
+ jarm?: {
627
+ /**
628
+ * The JWK returned by the `encryptJwe` callback. Only defined when the
629
+ * response is encrypted.
630
+ */
631
+ encryptionJwk?: Jwk;
632
+ responseJwt: string;
633
+ };
634
+ }
635
+ declare function createOpenid4vpAuthorizationResponse(options: CreateOpenid4vpAuthorizationResponseOptions): Promise<CreateOpenid4vpAuthorizationResponseResult>;
636
+
549
637
  /**
550
638
  * Configuration options for fetching OID4VP Presentation Result
551
639
  */
@@ -558,7 +646,7 @@ interface FetchAuthorizationResponseOptions {
558
646
  * Callback functions for making HTTP requests
559
647
  * Allows for custom fetch implementations
560
648
  */
561
- callbacks: Pick<CallbackContext$1, "fetch">;
649
+ callbacks: Pick<CallbackContext, "fetch">;
562
650
  /**
563
651
  * The response_uri field contained in the {@link Openid4vpAuthorizationRequestPayload}
564
652
  */
@@ -666,7 +754,7 @@ declare const zEncryptedJarmHeader: z.ZodObject<{
666
754
  type EncryptedJarmHeader = z.infer<typeof zEncryptedJarmHeader>;
667
755
  declare const zJarmAuthorizationResponse: z.ZodObject<{
668
756
  state: z.ZodOptional<z.ZodString>;
669
- aud: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
757
+ aud: z.ZodNonOptional<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>>;
670
758
  exp: z.ZodNonOptional<z.ZodOptional<z.ZodNumber>>;
671
759
  iss: z.ZodNonOptional<z.ZodOptional<z.ZodString>>;
672
760
  cnf: z.ZodOptional<z.ZodObject<{
@@ -706,12 +794,13 @@ declare const zJarmAuthorizationResponse: z.ZodObject<{
706
794
  nbf: z.ZodOptional<z.ZodNumber>;
707
795
  nonce: z.ZodOptional<z.ZodString>;
708
796
  status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
797
+ sub: z.ZodOptional<z.ZodString>;
709
798
  trust_chain: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
710
799
  }, z.core.$loose>;
711
800
  type JarmAuthorizationResponse = z.infer<typeof zJarmAuthorizationResponse>;
712
801
  declare const zJarmAuthorizationResponseEncryptedOnly: z.ZodObject<{
713
802
  state: z.ZodOptional<z.ZodString>;
714
- aud: z.ZodOptional<z.ZodString>;
803
+ aud: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString>]>>;
715
804
  cnf: z.ZodOptional<z.ZodObject<{
716
805
  jkt: z.ZodOptional<z.ZodString>;
717
806
  jwk: z.ZodOptional<z.ZodObject<{
@@ -751,6 +840,7 @@ declare const zJarmAuthorizationResponseEncryptedOnly: z.ZodObject<{
751
840
  nbf: z.ZodOptional<z.ZodNumber>;
752
841
  nonce: z.ZodOptional<z.ZodString>;
753
842
  status: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
843
+ sub: z.ZodOptional<z.ZodString>;
754
844
  trust_chain: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
755
845
  }, z.core.$loose>;
756
846
  type JarmAuthorizationResponseEncryptedOnly = z.infer<typeof zJarmAuthorizationResponseEncryptedOnly>;
@@ -817,19 +907,17 @@ declare function verifyJarmAuthorizationResponse(options: VerifyJarmAuthorizatio
817
907
  decryptionJwk: {
818
908
  [x: string]: unknown;
819
909
  kty: string;
820
- crv?: string | undefined;
821
- x?: string | undefined;
822
- y?: string | undefined;
823
- e?: string | undefined;
824
- n?: string | undefined;
825
910
  alg?: string | undefined;
911
+ crv?: string | undefined;
826
912
  d?: string | undefined;
827
913
  dp?: string | undefined;
828
914
  dq?: string | undefined;
915
+ e?: string | undefined;
829
916
  ext?: boolean | undefined;
830
917
  k?: string | undefined;
831
918
  key_ops?: string[] | undefined;
832
919
  kid?: string | undefined;
920
+ n?: string | undefined;
833
921
  oth?: {
834
922
  [x: string]: unknown;
835
923
  d?: string | undefined;
@@ -840,15 +928,17 @@ declare function verifyJarmAuthorizationResponse(options: VerifyJarmAuthorizatio
840
928
  q?: string | undefined;
841
929
  qi?: string | undefined;
842
930
  use?: string | undefined;
931
+ x?: string | undefined;
843
932
  x5c?: string[] | undefined;
844
933
  x5t?: string | undefined;
845
- 'x5t#S256'?: string | undefined;
934
+ "x5t#S256"?: string | undefined;
846
935
  x5u?: string | undefined;
936
+ y?: string | undefined;
847
937
  } | undefined;
848
938
  issuer: string | undefined;
849
939
  jarmAuthorizationResponse: {
850
940
  [x: string]: unknown;
851
- aud: string;
941
+ aud: string | string[];
852
942
  exp: number;
853
943
  iss: string;
854
944
  state?: string | undefined;
@@ -892,11 +982,12 @@ declare function verifyJarmAuthorizationResponse(options: VerifyJarmAuthorizatio
892
982
  nbf?: number | undefined;
893
983
  nonce?: string | undefined;
894
984
  status?: Record<string, any> | undefined;
985
+ sub?: string | undefined;
895
986
  trust_chain?: [string, ...string[]] | undefined;
896
987
  } | {
897
988
  [x: string]: unknown;
898
989
  state?: string | undefined;
899
- aud?: string | undefined;
990
+ aud?: string | string[] | undefined;
900
991
  cnf?: {
901
992
  [x: string]: unknown;
902
993
  jkt?: string | undefined;
@@ -939,6 +1030,7 @@ declare function verifyJarmAuthorizationResponse(options: VerifyJarmAuthorizatio
939
1030
  nbf?: number | undefined;
940
1031
  nonce?: string | undefined;
941
1032
  status?: Record<string, any> | undefined;
1033
+ sub?: string | undefined;
942
1034
  trust_chain?: [string, ...string[]] | undefined;
943
1035
  };
944
1036
  type: JarmMode;
@@ -1139,4 +1231,4 @@ interface ParseJarmAuthorizationResponseOptions {
1139
1231
  */
1140
1232
  declare function parseJarmAuthorizationResponse(options: ParseJarmAuthorizationResponseOptions): Promise<ParseAuthorizationResponseResult>;
1141
1233
 
1142
- export { type AuthorizationRequestUrlParams, type CertificateEndpoint, type ClientIdParts, ClientIdPrefix, type CreateAuthorizationRequestOptions, type CreateAuthorizationRequestOptionsV1_0, type CreateAuthorizationRequestOptionsV1_3, type CreateAuthorizationRequestOptionsV1_4, type CreateAuthorizationRequestResult, type CreateAuthorizationRequestResultV1_0, type CreateAuthorizationRequestResultV1_3, type CreateAuthorizationRequestResultV1_4, CreateAuthorizationResponseError, type CreateAuthorizationResponseOptionsV1_0, type CreateAuthorizationResponseOptionsV1_3, type CreateAuthorizationResponseOptionsV1_4, type CreateAuthorizationResponseResult, type CreateAuthorizationResponseVersionedOptions, type EncryptedJarmHeader, type FetchAuthorizationRequestOptions, type FetchAuthorizationRequestResult, FetchAuthorizationResponseError, type FetchAuthorizationResponseOptions, type GetX509CertificateMetadataCallback, InvalidRequestUriMethodError, type JarOptionsV1_0, type JarOptionsV1_3, type JarOptionsV1_4, type JarmAuthorizationResponse, type JarmAuthorizationResponseEncryptedOnly, type JarmHeader, JarmMode, Oid4vpError, type Openid4vpAuthorizationRequestHeader, type Openid4vpAuthorizationRequestHeaderV1_0, type Openid4vpAuthorizationRequestHeaderV1_3, type Openid4vpAuthorizationRequestPayload, type Openid4vpAuthorizationResponse, type Openid4vpAuthorizationResponseResult, type ParseAuthorizationResponseOptions, type ParseAuthorizationResponseResult, ParseAuthorizeRequestError, type ParseAuthorizeRequestOptions, type ParseJarmAuthorizationResponseOptions, type ParsedAuthorizeRequestResult, type ParsedQrCode, type ValidateCertificateEndpointsOptions, type ValidateOpenid4vpAuthorizationResponseOptions, type ValidateOpenid4vpAuthorizationResponseResult, type VerifyJarmAuthorizationResponseOptions, type VerifyJarmAuthorizationResponseResult, type X509CertificateBinding, type X509CertificateMetadata, createAuthorizationRequest, createAuthorizationResponse, createParsedQrCode, createX509HashClientId, extractClientIdPrefix, extractEncryptionJwkFromJwks, fetchAuthorizationRequest, fetchAuthorizationResponse, fetchRequestObjectJwt, parseAuthorizationResponse, parseAuthorizeRequest, parseJarmAuthorizationResponse, parseVpToken, validateAuthorizationRequestParams, validateCertificateEndpoints, validateOpenid4vpAuthorizationResponsePayload, verifyJarmAuthorizationResponse, zAuthorizationRequestUrlParams, zEncryptedJarmHeader, zJarmAuthorizationResponse, zJarmAuthorizationResponseEncryptedOnly, zJarmHeader, zOpenid4vpAuthorizationRequestHeaderV1_0, zOpenid4vpAuthorizationRequestHeaderV1_3, zOpenid4vpAuthorizationRequestPayload, zOpenid4vpAuthorizationResponse, zOpenid4vpAuthorizationResponseResult, zVpToken };
1234
+ export { type AuthorizationRequestUrlParams, type CertificateEndpoint, type ClientIdParts, ClientIdPrefix, type CreateAuthorizationRequestOptions, type CreateAuthorizationRequestOptionsAPTITUDE, type CreateAuthorizationRequestOptionsV1_0, type CreateAuthorizationRequestOptionsV1_3, type CreateAuthorizationRequestOptionsV1_4, type CreateAuthorizationRequestResult, type CreateAuthorizationRequestResultAPTITUDE, type CreateAuthorizationRequestResultV1_0, type CreateAuthorizationRequestResultV1_3, type CreateAuthorizationRequestResultV1_4, CreateAuthorizationResponseError, type CreateAuthorizationResponseOptionsV1_0, type CreateAuthorizationResponseOptionsV1_3, type CreateAuthorizationResponseOptionsV1_4, type CreateAuthorizationResponseResult, type CreateAuthorizationResponseVersionedOptions, type CreateOpenid4vpAuthorizationResponseOptions, type CreateOpenid4vpAuthorizationResponseResult, type EncryptedJarmHeader, type FetchAuthorizationRequestOptions, type FetchAuthorizationRequestResult, FetchAuthorizationResponseError, type FetchAuthorizationResponseOptions, type GetX509CertificateMetadataCallback, InvalidRequestUriMethodError, type JarOptionsAPTITUDE, type JarOptionsV1_0, type JarOptionsV1_3, type JarOptionsV1_4, type JarmAuthorizationResponse, type JarmAuthorizationResponseEncryptedOnly, type JarmClientMetadata, type JarmHeader, JarmMode, type JarmServerMetadata, Oid4vpError, type Openid4vpAuthorizationRequestHeader, type Openid4vpAuthorizationRequestHeaderV1_0, type Openid4vpAuthorizationRequestHeaderV1_3, type Openid4vpAuthorizationRequestPayload, type Openid4vpAuthorizationResponse, type Openid4vpAuthorizationResponsePayload, type Openid4vpAuthorizationResponseResult, type ParseAuthorizationResponseOptions, type ParseAuthorizationResponseResult, ParseAuthorizeRequestError, type ParseAuthorizeRequestOptions, type ParseJarmAuthorizationResponseOptions, type ParsedAuthorizeRequestResult, type ParsedQrCode, type ValidateCertificateEndpointsOptions, type ValidateOpenid4vpAuthorizationResponseOptions, type ValidateOpenid4vpAuthorizationResponseResult, type VerifyJarmAuthorizationResponseOptions, type VerifyJarmAuthorizationResponseResult, type VpToken, type VpTokenPresentationEntry, type X509CertificateBinding, type X509CertificateMetadata, createAuthorizationRequest, createAuthorizationResponse, createOpenid4vpAuthorizationResponse, createParsedQrCode, createX509HashClientId, extractClientIdPrefix, extractEncryptionJwkFromJwks, fetchAuthorizationRequest, fetchAuthorizationResponse, fetchRequestObjectJwt, parseAuthorizationResponse, parseAuthorizeRequest, parseJarmAuthorizationResponse, parseVpToken, validateAuthorizationRequestParams, validateCertificateEndpoints, validateOpenid4vpAuthorizationResponsePayload, verifyJarmAuthorizationResponse, zAuthorizationRequestUrlParams, zEncryptedJarmHeader, zJarmAuthorizationResponse, zJarmAuthorizationResponseEncryptedOnly, zJarmHeader, zOpenid4vpAuthorizationRequestHeaderV1_0, zOpenid4vpAuthorizationRequestHeaderV1_3, zOpenid4vpAuthorizationRequestPayload, zOpenid4vpAuthorizationResponse, zOpenid4vpAuthorizationResponseResult, zVpToken };