@pagopa/io-react-native-wallet 2.0.0-next.2 → 2.0.0-next.4
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/lib/commonjs/credential/issuance/03-start-user-authorization.js +38 -24
- package/lib/commonjs/credential/issuance/03-start-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +75 -57
- package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/05-authorize-access.js +6 -10
- package/lib/commonjs/credential/issuance/05-authorize-access.js.map +1 -1
- package/lib/commonjs/credential/issuance/06-obtain-credential.js +43 -11
- package/lib/commonjs/credential/issuance/06-obtain-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js +51 -48
- package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/README.md +77 -45
- package/lib/commonjs/credential/issuance/const.js +1 -1
- package/lib/commonjs/credential/issuance/types.js +17 -10
- package/lib/commonjs/credential/issuance/types.js.map +1 -1
- package/lib/commonjs/credential/presentation/07-evaluate-dcql-query.js +6 -13
- package/lib/commonjs/credential/presentation/07-evaluate-dcql-query.js.map +1 -1
- package/lib/commonjs/credential/presentation/07-evaluate-input-descriptor.js +10 -11
- package/lib/commonjs/credential/presentation/07-evaluate-input-descriptor.js.map +1 -1
- package/lib/commonjs/credential/presentation/types.js +1 -1
- package/lib/commonjs/credential/presentation/types.js.map +1 -1
- package/lib/commonjs/credential/status/README.md +0 -1
- package/lib/commonjs/sd-jwt/__test__/index.test.js +11 -15
- package/lib/commonjs/sd-jwt/__test__/index.test.js.map +1 -1
- package/lib/commonjs/sd-jwt/__test__/types.test.js +5 -2
- package/lib/commonjs/sd-jwt/__test__/types.test.js.map +1 -1
- package/lib/commonjs/sd-jwt/__test__/utils.test.js +37 -0
- package/lib/commonjs/sd-jwt/__test__/utils.test.js.map +1 -0
- package/lib/commonjs/sd-jwt/index.js +26 -1
- package/lib/commonjs/sd-jwt/index.js.map +1 -1
- package/lib/commonjs/sd-jwt/types.js +71 -8
- package/lib/commonjs/sd-jwt/types.js.map +1 -1
- package/lib/commonjs/sd-jwt/utils.js +64 -0
- package/lib/commonjs/sd-jwt/utils.js.map +1 -0
- package/lib/commonjs/trust/types.js +18 -13
- package/lib/commonjs/trust/types.js.map +1 -1
- package/lib/commonjs/utils/par.js +32 -22
- package/lib/commonjs/utils/par.js.map +1 -1
- package/lib/commonjs/utils/pop.js +1 -1
- package/lib/commonjs/utils/pop.js.map +1 -1
- package/lib/commonjs/wallet-instance-attestation/types.js +4 -1
- package/lib/commonjs/wallet-instance-attestation/types.js.map +1 -1
- package/lib/module/credential/issuance/03-start-user-authorization.js +38 -24
- package/lib/module/credential/issuance/03-start-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/04-complete-user-authorization.js +76 -58
- package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/05-authorize-access.js +6 -10
- package/lib/module/credential/issuance/05-authorize-access.js.map +1 -1
- package/lib/module/credential/issuance/06-obtain-credential.js +44 -12
- package/lib/module/credential/issuance/06-obtain-credential.js.map +1 -1
- package/lib/module/credential/issuance/07-verify-and-parse-credential.js +51 -48
- package/lib/module/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
- package/lib/module/credential/issuance/README.md +77 -45
- package/lib/module/credential/issuance/const.js +1 -1
- package/lib/module/credential/issuance/types.js +13 -8
- package/lib/module/credential/issuance/types.js.map +1 -1
- package/lib/module/credential/presentation/07-evaluate-dcql-query.js +6 -13
- package/lib/module/credential/presentation/07-evaluate-dcql-query.js.map +1 -1
- package/lib/module/credential/presentation/07-evaluate-input-descriptor.js +10 -11
- package/lib/module/credential/presentation/07-evaluate-input-descriptor.js.map +1 -1
- package/lib/module/credential/presentation/types.js +1 -1
- package/lib/module/credential/presentation/types.js.map +1 -1
- package/lib/module/credential/status/README.md +0 -1
- package/lib/module/sd-jwt/__test__/index.test.js +11 -16
- package/lib/module/sd-jwt/__test__/index.test.js.map +1 -1
- package/lib/module/sd-jwt/__test__/types.test.js +5 -2
- package/lib/module/sd-jwt/__test__/types.test.js.map +1 -1
- package/lib/module/sd-jwt/__test__/utils.test.js +35 -0
- package/lib/module/sd-jwt/__test__/utils.test.js.map +1 -0
- package/lib/module/sd-jwt/index.js +7 -1
- package/lib/module/sd-jwt/index.js.map +1 -1
- package/lib/module/sd-jwt/types.js +70 -7
- package/lib/module/sd-jwt/types.js.map +1 -1
- package/lib/module/sd-jwt/utils.js +57 -0
- package/lib/module/sd-jwt/utils.js.map +1 -0
- package/lib/module/trust/types.js +18 -13
- package/lib/module/trust/types.js.map +1 -1
- package/lib/module/utils/par.js +29 -20
- package/lib/module/utils/par.js.map +1 -1
- package/lib/module/utils/pop.js +1 -1
- package/lib/module/utils/pop.js.map +1 -1
- package/lib/module/wallet-instance-attestation/types.js +4 -1
- package/lib/module/wallet-instance-attestation/types.js.map +1 -1
- package/lib/typescript/client/generated/wallet-provider.d.ts +12 -12
- package/lib/typescript/credential/issuance/01-start-flow.d.ts +2 -2
- package/lib/typescript/credential/issuance/01-start-flow.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts +7 -6
- package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts +7 -14
- package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/05-authorize-access.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/06-obtain-credential.d.ts +10 -5
- package/lib/typescript/credential/issuance/06-obtain-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts +3 -2
- package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/const.d.ts +1 -1
- package/lib/typescript/credential/issuance/types.d.ts +49 -26
- package/lib/typescript/credential/issuance/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/01-start-flow.d.ts +2 -2
- package/lib/typescript/credential/presentation/07-evaluate-dcql-query.d.ts +4 -3
- package/lib/typescript/credential/presentation/07-evaluate-dcql-query.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/07-evaluate-input-descriptor.d.ts +9 -5
- package/lib/typescript/credential/presentation/07-evaluate-input-descriptor.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/types.d.ts +3 -4
- package/lib/typescript/credential/presentation/types.d.ts.map +1 -1
- package/lib/typescript/credential/status/types.d.ts +4 -4
- package/lib/typescript/pid/sd-jwt/types.d.ts +7 -7
- package/lib/typescript/sd-jwt/__test__/utils.test.d.ts +2 -0
- package/lib/typescript/sd-jwt/__test__/utils.test.d.ts.map +1 -0
- package/lib/typescript/sd-jwt/index.d.ts +69 -28
- package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/types.d.ts +264 -31
- package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/utils.d.ts +18 -0
- package/lib/typescript/sd-jwt/utils.d.ts.map +1 -0
- package/lib/typescript/trust/build-chain.d.ts +30 -14
- package/lib/typescript/trust/build-chain.d.ts.map +1 -1
- package/lib/typescript/trust/types.d.ts +322 -158
- package/lib/typescript/trust/types.d.ts.map +1 -1
- package/lib/typescript/utils/par.d.ts +29 -13
- package/lib/typescript/utils/par.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/types.d.ts +9 -9
- package/lib/typescript/wallet-instance-attestation/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/credential/issuance/01-start-flow.ts +2 -2
- package/src/credential/issuance/03-start-user-authorization.ts +57 -38
- package/src/credential/issuance/04-complete-user-authorization.ts +79 -85
- package/src/credential/issuance/05-authorize-access.ts +5 -11
- package/src/credential/issuance/06-obtain-credential.ts +56 -23
- package/src/credential/issuance/07-verify-and-parse-credential.ts +54 -62
- package/src/credential/issuance/README.md +77 -45
- package/src/credential/issuance/const.ts +1 -1
- package/src/credential/issuance/types.ts +19 -8
- package/src/credential/presentation/07-evaluate-dcql-query.ts +16 -17
- package/src/credential/presentation/07-evaluate-input-descriptor.ts +19 -16
- package/src/credential/presentation/types.ts +1 -2
- package/src/credential/status/README.md +0 -1
- package/src/sd-jwt/__test__/index.test.ts +8 -29
- package/src/sd-jwt/__test__/types.test.ts +6 -2
- package/src/sd-jwt/__test__/utils.test.ts +37 -0
- package/src/sd-jwt/index.ts +7 -1
- package/src/sd-jwt/types.ts +68 -7
- package/src/sd-jwt/utils.ts +73 -0
- package/src/trust/types.ts +23 -17
- package/src/utils/par.ts +37 -21
- package/src/utils/pop.ts +1 -1
- package/src/wallet-instance-attestation/types.ts +3 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/trust/types.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,eAAO,MAAM,SAAS;;;;;;;;;EAAuD,CAAC;AAC9E,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAgElD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAC9D,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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-native-jwt";
|
|
2
2
|
import * as z from "zod";
|
3
3
|
export type AuthorizationDetail = z.infer<typeof AuthorizationDetail>;
|
4
4
|
export declare const AuthorizationDetail: z.ZodObject<{
|
5
|
-
credential_configuration_id: z.ZodString;
|
6
|
-
format: z.ZodUnion<[z.ZodLiteral<"vc+sd-jwt">, z.ZodLiteral<"vc+mdoc-cbor">]>;
|
7
5
|
type: z.ZodLiteral<"openid_credential">;
|
6
|
+
credential_configuration_id: z.ZodString;
|
8
7
|
}, "strip", z.ZodTypeAny, {
|
9
8
|
type: "openid_credential";
|
10
|
-
format: "vc+sd-jwt" | "vc+mdoc-cbor";
|
11
9
|
credential_configuration_id: string;
|
12
10
|
}, {
|
13
11
|
type: "openid_credential";
|
14
|
-
format: "vc+sd-jwt" | "vc+mdoc-cbor";
|
15
12
|
credential_configuration_id: string;
|
16
13
|
}>;
|
17
14
|
export type AuthorizationDetails = z.infer<typeof AuthorizationDetails>;
|
18
15
|
export declare const AuthorizationDetails: z.ZodArray<z.ZodObject<{
|
19
|
-
credential_configuration_id: z.ZodString;
|
20
|
-
format: z.ZodUnion<[z.ZodLiteral<"vc+sd-jwt">, z.ZodLiteral<"vc+mdoc-cbor">]>;
|
21
16
|
type: z.ZodLiteral<"openid_credential">;
|
17
|
+
credential_configuration_id: z.ZodString;
|
22
18
|
}, "strip", z.ZodTypeAny, {
|
23
19
|
type: "openid_credential";
|
24
|
-
format: "vc+sd-jwt" | "vc+mdoc-cbor";
|
25
20
|
credential_configuration_id: string;
|
26
21
|
}, {
|
27
22
|
type: "openid_credential";
|
28
|
-
format: "vc+sd-jwt" | "vc+mdoc-cbor";
|
29
23
|
credential_configuration_id: string;
|
30
24
|
}>, "many">;
|
25
|
+
export type ParResponse = z.infer<typeof ParResponse>;
|
26
|
+
export declare const ParResponse: z.ZodObject<{
|
27
|
+
request_uri: z.ZodString;
|
28
|
+
expires_in: z.ZodNumber;
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
30
|
+
expires_in: number;
|
31
|
+
request_uri: string;
|
32
|
+
}, {
|
33
|
+
expires_in: number;
|
34
|
+
request_uri: string;
|
35
|
+
}>;
|
36
|
+
type AuthDetailsOrScope = {
|
37
|
+
authorizationDetails: AuthorizationDetails;
|
38
|
+
scope?: string;
|
39
|
+
} | {
|
40
|
+
authorizationDetails?: AuthorizationDetails;
|
41
|
+
scope: string;
|
42
|
+
};
|
43
|
+
type ParRequestPayload = {
|
44
|
+
clientId: string;
|
45
|
+
codeVerifier: string;
|
46
|
+
redirectUri: string;
|
47
|
+
responseMode: string;
|
48
|
+
aud: string;
|
49
|
+
} & AuthDetailsOrScope;
|
31
50
|
/**
|
32
51
|
* Make a PAR request to the issuer and return the response url
|
33
52
|
*/
|
34
53
|
export declare const makeParRequest: ({ wiaCryptoContext, appFetch, }: {
|
35
54
|
wiaCryptoContext: CryptoContext;
|
36
55
|
appFetch: GlobalFetch["fetch"];
|
37
|
-
}) => (
|
38
|
-
|
39
|
-
format: "vc+sd-jwt" | "vc+mdoc-cbor";
|
40
|
-
credential_configuration_id: string;
|
41
|
-
}[], assertionType: string) => Promise<string>;
|
56
|
+
}) => (parEndpoint: string, walletInstanceAttestation: string, { codeVerifier, responseMode, clientId, redirectUri, authorizationDetails, scope, aud, }: ParRequestPayload) => Promise<string>;
|
57
|
+
export {};
|
42
58
|
//# sourceMappingURL=par.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"par.d.ts","sourceRoot":"","sources":["../../../src/utils/par.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAEnB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAOzB,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,eAAO,MAAM,mBAAmB
|
1
|
+
{"version":3,"file":"par.d.ts","sourceRoot":"","sources":["../../../src/utils/par.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,aAAa,EAEnB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAOzB,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACtE,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,eAAO,MAAM,oBAAoB;;;;;;;;;WAA+B,CAAC;AAEjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AACtD,eAAO,MAAM,WAAW;;;;;;;;;EAGtB,CAAC;AAEH,KAAK,kBAAkB,GACnB;IAAE,oBAAoB,EAAE,oBAAoB,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAC9D;IAAE,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnE,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,kBAAkB,CAAC;AAEvB;;GAEG;AACH,eAAO,MAAM,cAAc;sBAKL,aAAa;cACrB,WAAW,CAAC,OAAO,CAAC;oBAGjB,MAAM,6BACQ,MAAM,4FAS9B,iBAAiB,KACnB,QAAQ,MAAM,CA0EhB,CAAC"}
|
@@ -366,13 +366,13 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
|
|
366
366
|
trust_chain?: string[] | undefined;
|
367
367
|
}>, z.ZodObject<{
|
368
368
|
typ: z.ZodLiteral<"oauth-client-attestation+jwt">;
|
369
|
-
trust_chain: z.ZodArray<z.ZodString, "many"
|
369
|
+
trust_chain: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
370
370
|
}, "strip", z.ZodTypeAny, {
|
371
371
|
typ: "oauth-client-attestation+jwt";
|
372
|
-
trust_chain
|
372
|
+
trust_chain?: string[] | undefined;
|
373
373
|
}, {
|
374
374
|
typ: "oauth-client-attestation+jwt";
|
375
|
-
trust_chain
|
375
|
+
trust_chain?: string[] | undefined;
|
376
376
|
}>>;
|
377
377
|
payload: z.ZodIntersection<z.ZodObject<{
|
378
378
|
iss: z.ZodString;
|
@@ -599,7 +599,7 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
|
|
599
599
|
trust_chain?: string[] | undefined;
|
600
600
|
} & {
|
601
601
|
typ: "oauth-client-attestation+jwt";
|
602
|
-
trust_chain
|
602
|
+
trust_chain?: string[] | undefined;
|
603
603
|
};
|
604
604
|
payload: {
|
605
605
|
iss: string;
|
@@ -648,7 +648,7 @@ export declare const WalletInstanceAttestationJwt: z.ZodObject<{
|
|
648
648
|
trust_chain?: string[] | undefined;
|
649
649
|
} & {
|
650
650
|
typ: "oauth-client-attestation+jwt";
|
651
|
-
trust_chain
|
651
|
+
trust_chain?: string[] | undefined;
|
652
652
|
};
|
653
653
|
payload: {
|
654
654
|
iss: string;
|
@@ -695,20 +695,20 @@ export declare const WalletAttestationResponse: z.ZodObject<{
|
|
695
695
|
wallet_attestation: z.ZodString;
|
696
696
|
format: z.ZodEnum<["jwt", "dc+sd-jwt", "mso_mdoc"]>;
|
697
697
|
}, "strip", z.ZodTypeAny, {
|
698
|
-
format: "
|
698
|
+
format: "dc+sd-jwt" | "mso_mdoc" | "jwt";
|
699
699
|
wallet_attestation: string;
|
700
700
|
}, {
|
701
|
-
format: "
|
701
|
+
format: "dc+sd-jwt" | "mso_mdoc" | "jwt";
|
702
702
|
wallet_attestation: string;
|
703
703
|
}>, "many">;
|
704
704
|
}, "strip", z.ZodTypeAny, {
|
705
705
|
wallet_attestations: {
|
706
|
-
format: "
|
706
|
+
format: "dc+sd-jwt" | "mso_mdoc" | "jwt";
|
707
707
|
wallet_attestation: string;
|
708
708
|
}[];
|
709
709
|
}, {
|
710
710
|
wallet_attestations: {
|
711
|
-
format: "
|
711
|
+
format: "dc+sd-jwt" | "mso_mdoc" | "jwt";
|
712
712
|
wallet_attestation: string;
|
713
713
|
}[];
|
714
714
|
}>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/wallet-instance-attestation/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AA2BzB,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAC;AACF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB9C,CAAC;
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/wallet-instance-attestation/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AA2BzB,MAAM,MAAM,mCAAmC,GAAG,CAAC,CAAC,KAAK,CACvD,OAAO,mCAAmC,CAC3C,CAAC;AACF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB9C,CAAC;AAIH,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,4BAA4B,CACpC,CAAC;AACF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiBvC,CAAC;AAEH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,yBAAyB,CACjC,CAAC;AACF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;EAOpC,CAAC"}
|
package/package.json
CHANGED
@@ -3,9 +3,9 @@
|
|
3
3
|
* The beginning of the issuing flow.
|
4
4
|
* To be implemented accordind to the user touchpoint
|
5
5
|
*
|
6
|
-
* @returns The
|
6
|
+
* @returns The configuration ID of the Credential to be issued and the url of the Issuer
|
7
7
|
*/
|
8
8
|
export type StartFlow = () => {
|
9
9
|
issuerUrl: string;
|
10
|
-
|
10
|
+
credentialId: string;
|
11
11
|
};
|
@@ -4,12 +4,11 @@ import { generateRandomAlphaNumericString, type Out } from "../../utils/misc";
|
|
4
4
|
import type { EvaluateIssuerTrust } from "./02-evaluate-issuer-trust";
|
5
5
|
import type { StartFlow } from "./01-start-flow";
|
6
6
|
import { AuthorizationDetail, makeParRequest } from "../../utils/par";
|
7
|
-
import { ASSERTION_TYPE } from "./const";
|
8
7
|
import { LogLevel, Logger } from "../../utils/logging";
|
9
8
|
|
10
9
|
export type StartUserAuthorization = (
|
11
10
|
issuerConf: Out<EvaluateIssuerTrust>["issuerConf"],
|
12
|
-
|
11
|
+
credentialIds: string[],
|
13
12
|
context: {
|
14
13
|
wiaCryptoContext: CryptoContext;
|
15
14
|
walletInstanceAttestation: string;
|
@@ -20,82 +19,99 @@ export type StartUserAuthorization = (
|
|
20
19
|
issuerRequestUri: string;
|
21
20
|
clientId: string;
|
22
21
|
codeVerifier: string;
|
23
|
-
credentialDefinition: AuthorizationDetail;
|
22
|
+
credentialDefinition: AuthorizationDetail[];
|
24
23
|
}>;
|
25
24
|
|
26
25
|
/**
|
27
26
|
* Ensures that the credential type requested is supported by the issuer and contained in the
|
28
27
|
* issuer configuration.
|
29
28
|
* @param issuerConf The issuer configuration returned by {@link evaluateIssuerTrust}
|
30
|
-
* @param
|
31
|
-
* @param context.wiaCryptoContext The Wallet Instance's crypto context
|
32
|
-
* @param context.walletInstanceAttestation The Wallet Instance's attestation
|
33
|
-
* @param context.redirectUri The redirect URI which is the custom URL scheme that the Wallet Instance is registered to handle
|
34
|
-
* @param context.appFetch (optional) fetch api implementation. Default: built-in fetch
|
29
|
+
* @param credentialId The credential configuration ID to be requested;
|
35
30
|
* @returns The credential definition to be used in the request which includes the format and the type and its type
|
36
31
|
*/
|
37
32
|
const selectCredentialDefinition = (
|
38
33
|
issuerConf: Out<EvaluateIssuerTrust>["issuerConf"],
|
39
|
-
|
34
|
+
credentialId: Out<StartFlow>["credentialId"]
|
40
35
|
): AuthorizationDetail => {
|
41
36
|
const credential_configurations_supported =
|
42
37
|
issuerConf.openid_credential_issuer.credential_configurations_supported;
|
43
38
|
|
44
39
|
const [result] = Object.keys(credential_configurations_supported)
|
45
|
-
.filter((e) => e.includes(
|
46
|
-
.map((
|
47
|
-
credential_configuration_id:
|
48
|
-
format: credential_configurations_supported[e]!.format,
|
40
|
+
.filter((e) => e.includes(credentialId))
|
41
|
+
.map(() => ({
|
42
|
+
credential_configuration_id: credentialId,
|
49
43
|
type: "openid_credential" as const,
|
50
44
|
}));
|
51
45
|
|
52
46
|
if (!result) {
|
53
47
|
Logger.log(
|
54
48
|
LogLevel.ERROR,
|
55
|
-
`Requested credential
|
49
|
+
`Requested credential ${credentialId} is not supported by the issuer according to its configuration ${JSON.stringify(credential_configurations_supported)}`
|
56
50
|
);
|
57
|
-
throw new Error(`No credential support the type '${
|
51
|
+
throw new Error(`No credential support the type '${credentialId}'`);
|
58
52
|
}
|
59
53
|
return result;
|
60
54
|
};
|
61
55
|
|
62
56
|
/**
|
63
57
|
* Ensures that the response mode requested is supported by the issuer and contained in the issuer configuration.
|
58
|
+
* When multiple credentials are provided, all of them must support the same response_mode.
|
64
59
|
* @param issuerConf The issuer configuration
|
65
|
-
* @param
|
60
|
+
* @param credentialIds The credential configuration IDs to be requested
|
66
61
|
* @returns The response mode to be used in the request, "query" for PersonIdentificationData and "form_post.jwt" for all other types.
|
67
62
|
*/
|
68
63
|
const selectResponseMode = (
|
69
64
|
issuerConf: Out<EvaluateIssuerTrust>["issuerConf"],
|
70
|
-
|
65
|
+
credentialIds: string[]
|
71
66
|
): ResponseMode => {
|
72
67
|
const responseModeSupported =
|
73
68
|
issuerConf.oauth_authorization_server.response_modes_supported;
|
74
69
|
|
75
|
-
const
|
76
|
-
|
70
|
+
const responseModeSet = new Set<ResponseMode>();
|
71
|
+
|
72
|
+
for (const credentialId of credentialIds) {
|
73
|
+
responseModeSet.add(
|
74
|
+
credentialId.match(/PersonIdentificationData/i)
|
75
|
+
? "query"
|
76
|
+
: "form_post.jwt"
|
77
|
+
);
|
78
|
+
}
|
79
|
+
|
80
|
+
if (responseModeSet.size !== 1) {
|
81
|
+
Logger.log(
|
82
|
+
LogLevel.ERROR,
|
83
|
+
`${credentialIds} have incompatible response_mode: ${[...responseModeSet.values()]}`
|
84
|
+
);
|
85
|
+
throw new Error(
|
86
|
+
"Requested credentials have incompatible response_mode and cannot be requested with the same PAR request"
|
87
|
+
);
|
88
|
+
}
|
89
|
+
|
90
|
+
const [responseMode] = responseModeSet.values();
|
77
91
|
|
78
92
|
Logger.log(
|
79
93
|
LogLevel.DEBUG,
|
80
|
-
`Selected response mode ${responseMode} for credential
|
94
|
+
`Selected response mode ${responseMode} for credential IDs ${credentialIds}`
|
81
95
|
);
|
82
96
|
|
83
|
-
if (!responseModeSupported.includes(responseMode)) {
|
97
|
+
if (!responseModeSupported.includes(responseMode!)) {
|
84
98
|
Logger.log(
|
85
99
|
LogLevel.ERROR,
|
86
100
|
`Requested response mode ${responseMode} is not supported by the issuer according to its configuration ${JSON.stringify(responseModeSupported)}`
|
87
101
|
);
|
88
|
-
throw new Error(`No response mode support
|
102
|
+
throw new Error(`No response mode support for IDs '${credentialIds}'`);
|
89
103
|
}
|
90
104
|
|
91
|
-
return responseMode
|
105
|
+
return responseMode!;
|
92
106
|
};
|
93
107
|
|
94
108
|
/**
|
95
109
|
* WARNING: This function must be called after {@link evaluateIssuerTrust} and {@link startFlow}. The next steam is {@link compeUserAuthorizationWithQueryMode} or {@link compeUserAuthorizationWithFormPostJwtMode}
|
110
|
+
*
|
96
111
|
* Creates and sends a PAR request to the /as/par endpoint of the authorization server.
|
97
112
|
* This starts the authentication flow to obtain an access token.
|
98
|
-
* This token enables the Wallet Instance to request a digital credential from the Credential Endpoint of the Credential Issuer
|
113
|
+
* This token enables the Wallet Instance to request a digital credential from the Credential Endpoint of the Credential Issuer; when multiple credential types are passed,
|
114
|
+
* it is possible to use the same access token for the issuance of all requested credentials.
|
99
115
|
* This is an HTTP POST request containing the Wallet Instance identifier (client id), the code challenge and challenge method as specified by PKCE according to RFC 9126
|
100
116
|
* along with the WTE and its proof of possession (WTE-PoP).
|
101
117
|
* Additionally, it includes a request object, which is a signed JWT encapsulating the type of digital credential requested (authorization_details),
|
@@ -105,13 +121,14 @@ const selectResponseMode = (
|
|
105
121
|
* to the Wallet Instance's Token Endpoint to obtain the Access Token, and the redirectUri of the Wallet Instance where the Authorization Response
|
106
122
|
* should be delivered. The redirect is achived by using a custom URL scheme that the Wallet Instance is registered to handle.
|
107
123
|
* @param issuerConf The issuer configuration
|
108
|
-
* @param
|
124
|
+
* @param credentialIds The credential configuration IDs to be requested
|
109
125
|
* @param ctx The context object containing the Wallet Instance's cryptographic context, the Wallet Instance's attestation, the redirect URI and the fetch implementation
|
110
|
-
* @returns The URI to which the end user should be redirected to start the authentication flow, along with the client id, the code verifier and the credential definition
|
126
|
+
* @returns The URI to which the end user should be redirected to start the authentication flow, along with the client id, the code verifier and the credential definition(s)
|
111
127
|
*/
|
128
|
+
|
112
129
|
export const startUserAuthorization: StartUserAuthorization = async (
|
113
130
|
issuerConf,
|
114
|
-
|
131
|
+
credentialIds,
|
115
132
|
ctx
|
116
133
|
) => {
|
117
134
|
const {
|
@@ -122,6 +139,7 @@ export const startUserAuthorization: StartUserAuthorization = async (
|
|
122
139
|
} = ctx;
|
123
140
|
|
124
141
|
const clientId = await wiaCryptoContext.getPublicKey().then((_) => _.kid);
|
142
|
+
|
125
143
|
if (!clientId) {
|
126
144
|
Logger.log(
|
127
145
|
LogLevel.ERROR,
|
@@ -132,22 +150,23 @@ export const startUserAuthorization: StartUserAuthorization = async (
|
|
132
150
|
const codeVerifier = generateRandomAlphaNumericString(64);
|
133
151
|
const parEndpoint =
|
134
152
|
issuerConf.oauth_authorization_server.pushed_authorization_request_endpoint;
|
135
|
-
const
|
136
|
-
|
137
|
-
|
153
|
+
const aud = issuerConf.openid_credential_issuer.credential_issuer;
|
154
|
+
const credentialDefinition = credentialIds.map((c) =>
|
155
|
+
selectCredentialDefinition(issuerConf, c)
|
138
156
|
);
|
139
|
-
const responseMode = selectResponseMode(issuerConf,
|
140
|
-
|
157
|
+
const responseMode = selectResponseMode(issuerConf, credentialIds);
|
141
158
|
const getPar = makeParRequest({ wiaCryptoContext, appFetch });
|
142
159
|
const issuerRequestUri = await getPar(
|
143
|
-
clientId,
|
144
|
-
codeVerifier,
|
145
|
-
redirectUri,
|
146
|
-
responseMode,
|
147
160
|
parEndpoint,
|
148
161
|
walletInstanceAttestation,
|
149
|
-
|
150
|
-
|
162
|
+
{
|
163
|
+
aud,
|
164
|
+
clientId,
|
165
|
+
codeVerifier,
|
166
|
+
redirectUri,
|
167
|
+
responseMode,
|
168
|
+
authorizationDetails: credentialDefinition,
|
169
|
+
}
|
151
170
|
);
|
152
171
|
|
153
172
|
return { issuerRequestUri, clientId, codeVerifier, credentialDefinition };
|