@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.
- package/lib/commonjs/credential/index.js +1 -5
- package/lib/commonjs/credential/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/02-get-issuer-config.js +48 -0
- package/lib/commonjs/credential/issuance/02-get-issuer-config.js.map +1 -0
- package/lib/commonjs/credential/issuance/03-start-user-authorization.js +16 -20
- package/lib/commonjs/credential/issuance/03-start-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/04-complete-user-authorization.js +8 -8
- package/lib/commonjs/credential/issuance/04-complete-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/issuance/05-authorize-access.js +8 -9
- package/lib/commonjs/credential/issuance/05-authorize-access.js.map +1 -1
- package/lib/commonjs/credential/issuance/06-obtain-credential.js +18 -21
- package/lib/commonjs/credential/issuance/06-obtain-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js +3 -3
- package/lib/commonjs/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
- package/lib/commonjs/credential/issuance/README.md +18 -21
- package/lib/commonjs/credential/issuance/index.js +3 -3
- package/lib/commonjs/credential/issuance/index.js.map +1 -1
- package/lib/commonjs/credential/issuance/types.js +1 -1
- package/lib/commonjs/credential/issuance/types.js.map +1 -1
- package/lib/commonjs/credential/presentation/01-start-flow.js +7 -2
- package/lib/commonjs/credential/presentation/01-start-flow.js.map +1 -1
- package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js +2 -2
- package/lib/commonjs/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
- package/lib/commonjs/credential/presentation/03-retrieve-jwks.js +68 -0
- package/lib/commonjs/credential/presentation/03-retrieve-jwks.js.map +1 -0
- package/lib/commonjs/credential/presentation/{03-get-request-object.js → 04-get-request-object.js} +27 -13
- package/lib/commonjs/credential/presentation/04-get-request-object.js.map +1 -0
- package/lib/commonjs/credential/presentation/{04-send-authorization-response.js → 05-send-authorization-response.js} +1 -1
- package/lib/commonjs/credential/presentation/{04-send-authorization-response.js.map → 05-send-authorization-response.js.map} +1 -1
- package/lib/commonjs/credential/presentation/README.md +74 -2
- package/lib/commonjs/credential/presentation/index.js +15 -2
- package/lib/commonjs/credential/presentation/index.js.map +1 -1
- package/lib/commonjs/credential/presentation/types.js +5 -3
- package/lib/commonjs/credential/presentation/types.js.map +1 -1
- package/lib/commonjs/entity/openid-connect/issuer/index.js +25 -0
- package/lib/commonjs/entity/openid-connect/issuer/index.js.map +1 -0
- package/lib/commonjs/entity/openid-connect/issuer/types.js +61 -0
- package/lib/commonjs/entity/openid-connect/issuer/types.js.map +1 -0
- package/lib/commonjs/{trust → entity/trust}/chain.js +1 -1
- package/lib/commonjs/entity/trust/chain.js.map +1 -0
- package/lib/commonjs/{trust → entity/trust}/index.js +1 -1
- package/lib/commonjs/entity/trust/index.js.map +1 -0
- package/lib/commonjs/{trust → entity/trust}/types.js +2 -2
- package/lib/commonjs/entity/trust/types.js.map +1 -0
- package/lib/commonjs/index.js +1 -3
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/pid/sd-jwt/types.js +2 -18
- package/lib/commonjs/pid/sd-jwt/types.js.map +1 -1
- package/lib/commonjs/sd-jwt/__test__/index.test.js +32 -23
- package/lib/commonjs/sd-jwt/__test__/index.test.js.map +1 -1
- package/lib/commonjs/sd-jwt/__test__/types.test.js +20 -11
- package/lib/commonjs/sd-jwt/__test__/types.test.js.map +1 -1
- package/lib/commonjs/sd-jwt/types.js +18 -5
- package/lib/commonjs/sd-jwt/types.js.map +1 -1
- package/lib/commonjs/utils/error-codes.js +1 -13
- package/lib/commonjs/utils/error-codes.js.map +1 -1
- package/lib/commonjs/utils/errors.js +2 -53
- package/lib/commonjs/utils/errors.js.map +1 -1
- package/lib/commonjs/utils/jwk.js +5 -1
- package/lib/commonjs/utils/jwk.js.map +1 -1
- package/lib/commonjs/utils/par.js +6 -12
- package/lib/commonjs/utils/par.js.map +1 -1
- package/lib/module/credential/index.js +1 -3
- package/lib/module/credential/index.js.map +1 -1
- package/lib/module/credential/issuance/02-get-issuer-config.js +42 -0
- package/lib/module/credential/issuance/02-get-issuer-config.js.map +1 -0
- package/lib/module/credential/issuance/03-start-user-authorization.js +16 -20
- package/lib/module/credential/issuance/03-start-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/04-complete-user-authorization.js +8 -8
- package/lib/module/credential/issuance/04-complete-user-authorization.js.map +1 -1
- package/lib/module/credential/issuance/05-authorize-access.js +8 -9
- package/lib/module/credential/issuance/05-authorize-access.js.map +1 -1
- package/lib/module/credential/issuance/06-obtain-credential.js +18 -21
- package/lib/module/credential/issuance/06-obtain-credential.js.map +1 -1
- package/lib/module/credential/issuance/07-verify-and-parse-credential.js +3 -3
- package/lib/module/credential/issuance/07-verify-and-parse-credential.js.map +1 -1
- package/lib/module/credential/issuance/README.md +18 -21
- package/lib/module/credential/issuance/index.js +2 -2
- package/lib/module/credential/issuance/index.js.map +1 -1
- package/lib/module/credential/issuance/types.js +1 -1
- package/lib/module/credential/issuance/types.js.map +1 -1
- package/lib/module/credential/presentation/01-start-flow.js +7 -2
- package/lib/module/credential/presentation/01-start-flow.js.map +1 -1
- package/lib/module/credential/presentation/02-evaluate-rp-trust.js +1 -1
- package/lib/module/credential/presentation/02-evaluate-rp-trust.js.map +1 -1
- package/lib/module/credential/presentation/03-retrieve-jwks.js +61 -0
- package/lib/module/credential/presentation/03-retrieve-jwks.js.map +1 -0
- package/lib/module/credential/presentation/{03-get-request-object.js → 04-get-request-object.js} +26 -12
- package/lib/module/credential/presentation/04-get-request-object.js.map +1 -0
- package/lib/module/credential/presentation/{04-send-authorization-response.js → 05-send-authorization-response.js} +1 -1
- package/lib/module/credential/presentation/{04-send-authorization-response.js.map → 05-send-authorization-response.js.map} +1 -1
- package/lib/module/credential/presentation/README.md +74 -2
- package/lib/module/credential/presentation/index.js +4 -3
- package/lib/module/credential/presentation/index.js.map +1 -1
- package/lib/module/credential/presentation/types.js +5 -3
- package/lib/module/credential/presentation/types.js.map +1 -1
- package/lib/module/entity/openid-connect/issuer/index.js +20 -0
- package/lib/module/entity/openid-connect/issuer/index.js.map +1 -0
- package/lib/module/entity/openid-connect/issuer/types.js +47 -0
- package/lib/module/entity/openid-connect/issuer/types.js.map +1 -0
- package/lib/module/{trust → entity/trust}/chain.js +1 -1
- package/lib/module/entity/trust/chain.js.map +1 -0
- package/lib/module/{trust → entity/trust}/index.js +1 -1
- package/lib/module/entity/trust/index.js.map +1 -0
- package/lib/module/{trust → entity/trust}/types.js +2 -2
- package/lib/module/entity/trust/types.js.map +1 -0
- package/lib/module/index.js +1 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/pid/sd-jwt/types.js +1 -16
- package/lib/module/pid/sd-jwt/types.js.map +1 -1
- package/lib/module/sd-jwt/__test__/index.test.js +32 -23
- package/lib/module/sd-jwt/__test__/index.test.js.map +1 -1
- package/lib/module/sd-jwt/__test__/types.test.js +20 -11
- package/lib/module/sd-jwt/__test__/types.test.js.map +1 -1
- package/lib/module/sd-jwt/types.js +16 -4
- package/lib/module/sd-jwt/types.js.map +1 -1
- package/lib/module/utils/error-codes.js +1 -13
- package/lib/module/utils/error-codes.js.map +1 -1
- package/lib/module/utils/errors.js +0 -48
- package/lib/module/utils/errors.js.map +1 -1
- package/lib/module/utils/jwk.js +3 -0
- package/lib/module/utils/jwk.js.map +1 -1
- package/lib/module/utils/par.js +6 -12
- package/lib/module/utils/par.js.map +1 -1
- package/lib/typescript/credential/index.d.ts +1 -3
- package/lib/typescript/credential/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/01-start-flow.d.ts +1 -1
- package/lib/typescript/credential/issuance/02-get-issuer-config.d.ts +32 -0
- package/lib/typescript/credential/issuance/02-get-issuer-config.d.ts.map +1 -0
- package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts +3 -3
- 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 +8 -8
- package/lib/typescript/credential/issuance/04-complete-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/05-authorize-access.d.ts +3 -3
- package/lib/typescript/credential/issuance/05-authorize-access.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/06-obtain-credential.d.ts +3 -3
- 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 -3
- package/lib/typescript/credential/issuance/07-verify-and-parse-credential.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/index.d.ts +3 -3
- package/lib/typescript/credential/issuance/index.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/types.d.ts +4 -9
- package/lib/typescript/credential/issuance/types.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/01-start-flow.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts +1 -1
- package/lib/typescript/credential/presentation/02-evaluate-rp-trust.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/03-retrieve-jwks.d.ts +41 -0
- package/lib/typescript/credential/presentation/03-retrieve-jwks.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/{03-get-request-object.d.ts → 04-get-request-object.d.ts} +4 -4
- package/lib/typescript/credential/presentation/04-get-request-object.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/{04-send-authorization-response.d.ts → 05-send-authorization-response.d.ts} +2 -2
- package/lib/typescript/credential/presentation/{04-send-authorization-response.d.ts.map → 05-send-authorization-response.d.ts.map} +1 -1
- package/lib/typescript/credential/presentation/index.d.ts +5 -4
- package/lib/typescript/credential/presentation/index.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/types.d.ts +15 -15
- package/lib/typescript/entity/openid-connect/issuer/index.d.ts +12 -0
- package/lib/typescript/entity/openid-connect/issuer/index.d.ts.map +1 -0
- package/lib/typescript/entity/openid-connect/issuer/types.d.ts +641 -0
- package/lib/typescript/entity/openid-connect/issuer/types.d.ts.map +1 -0
- package/lib/typescript/entity/trust/chain.d.ts.map +1 -0
- package/lib/typescript/{trust → entity/trust}/index.d.ts +97 -97
- package/lib/typescript/entity/trust/index.d.ts.map +1 -0
- package/lib/typescript/{trust → entity/trust}/types.d.ts +597 -597
- package/lib/typescript/{trust → entity/trust}/types.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -2
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/pid/sd-jwt/types.d.ts +25 -103
- package/lib/typescript/pid/sd-jwt/types.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/index.d.ts +60 -20
- package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/types.d.ts +114 -24
- package/lib/typescript/sd-jwt/types.d.ts.map +1 -1
- package/lib/typescript/utils/error-codes.d.ts +0 -12
- package/lib/typescript/utils/error-codes.d.ts.map +1 -1
- package/lib/typescript/utils/errors.d.ts +6 -37
- package/lib/typescript/utils/errors.d.ts.map +1 -1
- package/lib/typescript/utils/jwk.d.ts +135 -0
- package/lib/typescript/utils/jwk.d.ts.map +1 -1
- package/lib/typescript/utils/par.d.ts +1 -8
- package/lib/typescript/utils/par.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/types.d.ts +12 -12
- package/package.json +1 -1
- package/src/credential/index.ts +1 -4
- package/src/credential/issuance/01-start-flow.ts +1 -1
- package/src/credential/issuance/02-get-issuer-config.ts +67 -0
- package/src/credential/issuance/03-start-user-authorization.ts +22 -30
- package/src/credential/issuance/04-complete-user-authorization.ts +11 -13
- package/src/credential/issuance/05-authorize-access.ts +8 -10
- package/src/credential/issuance/06-obtain-credential.ts +30 -31
- package/src/credential/issuance/07-verify-and-parse-credential.ts +6 -6
- package/src/credential/issuance/README.md +18 -21
- package/src/credential/issuance/index.ts +3 -6
- package/src/credential/issuance/types.ts +1 -1
- package/src/credential/presentation/01-start-flow.ts +8 -2
- package/src/credential/presentation/02-evaluate-rp-trust.ts +2 -2
- package/src/credential/presentation/03-retrieve-jwks.ts +73 -0
- package/src/credential/presentation/{03-get-request-object.ts → 04-get-request-object.ts} +33 -15
- package/src/credential/presentation/{04-send-authorization-response.ts → 05-send-authorization-response.ts} +1 -1
- package/src/credential/presentation/README.md +74 -2
- package/src/credential/presentation/index.ts +10 -2
- package/src/credential/presentation/types.ts +3 -3
- package/src/entity/openid-connect/issuer/index.ts +27 -0
- package/src/entity/openid-connect/issuer/types.ts +68 -0
- package/src/{trust → entity/trust}/chain.ts +2 -2
- package/src/{trust → entity/trust}/index.ts +1 -1
- package/src/{trust → entity/trust}/types.ts +2 -2
- package/src/index.ts +0 -2
- package/src/pid/sd-jwt/types.ts +1 -18
- package/src/sd-jwt/__test__/index.test.ts +47 -37
- package/src/sd-jwt/__test__/types.test.ts +26 -16
- package/src/sd-jwt/types.ts +16 -2
- package/src/utils/error-codes.ts +0 -12
- package/src/utils/errors.ts +12 -86
- package/src/utils/jwk.ts +5 -0
- package/src/utils/par.ts +3 -10
- package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js +0 -27
- package/lib/commonjs/credential/issuance/02-evaluate-issuer-trust.js.map +0 -1
- package/lib/commonjs/credential/presentation/03-get-request-object.js.map +0 -1
- package/lib/commonjs/credential/status/01-start-flow.js +0 -2
- package/lib/commonjs/credential/status/01-start-flow.js.map +0 -1
- package/lib/commonjs/credential/status/02-status-attestation.js +0 -72
- package/lib/commonjs/credential/status/02-status-attestation.js.map +0 -1
- package/lib/commonjs/credential/status/03-verify-and-parse-status-attestation.js +0 -52
- package/lib/commonjs/credential/status/03-verify-and-parse-status-attestation.js.map +0 -1
- package/lib/commonjs/credential/status/README.md +0 -67
- package/lib/commonjs/credential/status/index.js +0 -27
- package/lib/commonjs/credential/status/index.js.map +0 -1
- package/lib/commonjs/credential/status/types.js +0 -48
- package/lib/commonjs/credential/status/types.js.map +0 -1
- package/lib/commonjs/credential/trustmark/README.md +0 -62
- package/lib/commonjs/credential/trustmark/get-credential-trustmark.js +0 -81
- package/lib/commonjs/credential/trustmark/get-credential-trustmark.js.map +0 -1
- package/lib/commonjs/credential/trustmark/index.js +0 -13
- package/lib/commonjs/credential/trustmark/index.js.map +0 -1
- package/lib/commonjs/trust/chain.js.map +0 -1
- package/lib/commonjs/trust/index.js.map +0 -1
- package/lib/commonjs/trust/types.js.map +0 -1
- package/lib/module/credential/issuance/02-evaluate-issuer-trust.js +0 -20
- package/lib/module/credential/issuance/02-evaluate-issuer-trust.js.map +0 -1
- package/lib/module/credential/presentation/03-get-request-object.js.map +0 -1
- package/lib/module/credential/status/01-start-flow.js +0 -2
- package/lib/module/credential/status/01-start-flow.js.map +0 -1
- package/lib/module/credential/status/02-status-attestation.js +0 -64
- package/lib/module/credential/status/02-status-attestation.js.map +0 -1
- package/lib/module/credential/status/03-verify-and-parse-status-attestation.js +0 -46
- package/lib/module/credential/status/03-verify-and-parse-status-attestation.js.map +0 -1
- package/lib/module/credential/status/README.md +0 -67
- package/lib/module/credential/status/index.js +0 -5
- package/lib/module/credential/status/index.js.map +0 -1
- package/lib/module/credential/status/types.js +0 -40
- package/lib/module/credential/status/types.js.map +0 -1
- package/lib/module/credential/trustmark/README.md +0 -62
- package/lib/module/credential/trustmark/get-credential-trustmark.js +0 -72
- package/lib/module/credential/trustmark/get-credential-trustmark.js.map +0 -1
- package/lib/module/credential/trustmark/index.js +0 -3
- package/lib/module/credential/trustmark/index.js.map +0 -1
- package/lib/module/trust/chain.js.map +0 -1
- package/lib/module/trust/index.js.map +0 -1
- package/lib/module/trust/types.js.map +0 -1
- package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts +0 -19
- package/lib/typescript/credential/issuance/02-evaluate-issuer-trust.d.ts.map +0 -1
- package/lib/typescript/credential/presentation/03-get-request-object.d.ts.map +0 -1
- package/lib/typescript/credential/status/01-start-flow.d.ts +0 -10
- package/lib/typescript/credential/status/01-start-flow.d.ts.map +0 -1
- package/lib/typescript/credential/status/02-status-attestation.d.ts +0 -19
- package/lib/typescript/credential/status/02-status-attestation.d.ts.map +0 -1
- package/lib/typescript/credential/status/03-verify-and-parse-status-attestation.d.ts +0 -24
- package/lib/typescript/credential/status/03-verify-and-parse-status-attestation.d.ts.map +0 -1
- package/lib/typescript/credential/status/index.d.ts +0 -7
- package/lib/typescript/credential/status/index.d.ts.map +0 -1
- package/lib/typescript/credential/status/types.d.ts +0 -305
- package/lib/typescript/credential/status/types.d.ts.map +0 -1
- package/lib/typescript/credential/trustmark/get-credential-trustmark.d.ts +0 -52
- package/lib/typescript/credential/trustmark/get-credential-trustmark.d.ts.map +0 -1
- package/lib/typescript/credential/trustmark/index.d.ts +0 -4
- package/lib/typescript/credential/trustmark/index.d.ts.map +0 -1
- package/lib/typescript/trust/chain.d.ts.map +0 -1
- package/lib/typescript/trust/index.d.ts.map +0 -1
- package/src/credential/issuance/02-evaluate-issuer-trust.ts +0 -32
- package/src/credential/status/01-start-flow.ts +0 -9
- package/src/credential/status/02-status-attestation.ts +0 -102
- package/src/credential/status/03-verify-and-parse-status-attestation.ts +0 -60
- package/src/credential/status/README.md +0 -67
- package/src/credential/status/index.ts +0 -22
- package/src/credential/status/types.ts +0 -43
- package/src/credential/trustmark/README.md +0 -62
- package/src/credential/trustmark/get-credential-trustmark.ts +0 -120
- package/src/credential/trustmark/index.ts +0 -8
- /package/lib/typescript/{trust → entity/trust}/chain.d.ts +0 -0
@@ -0,0 +1,641 @@
|
|
1
|
+
import * as z from "zod";
|
2
|
+
export type CredentialDisplay = z.infer<typeof CredentialDisplay>;
|
3
|
+
export declare const CredentialDisplay: z.ZodObject<{
|
4
|
+
name: z.ZodString;
|
5
|
+
locale: z.ZodString;
|
6
|
+
logo: z.ZodOptional<z.ZodObject<{
|
7
|
+
url: z.ZodString;
|
8
|
+
alt_text: z.ZodString;
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
10
|
+
url: string;
|
11
|
+
alt_text: string;
|
12
|
+
}, {
|
13
|
+
url: string;
|
14
|
+
alt_text: string;
|
15
|
+
}>>;
|
16
|
+
background_color: z.ZodOptional<z.ZodString>;
|
17
|
+
text_color: z.ZodOptional<z.ZodString>;
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
19
|
+
name: string;
|
20
|
+
locale: string;
|
21
|
+
logo?: {
|
22
|
+
url: string;
|
23
|
+
alt_text: string;
|
24
|
+
} | undefined;
|
25
|
+
background_color?: string | undefined;
|
26
|
+
text_color?: string | undefined;
|
27
|
+
}, {
|
28
|
+
name: string;
|
29
|
+
locale: string;
|
30
|
+
logo?: {
|
31
|
+
url: string;
|
32
|
+
alt_text: string;
|
33
|
+
} | undefined;
|
34
|
+
background_color?: string | undefined;
|
35
|
+
text_color?: string | undefined;
|
36
|
+
}>;
|
37
|
+
export declare const CredentialClaimDisplay: z.ZodObject<{
|
38
|
+
name: z.ZodString;
|
39
|
+
locale: z.ZodString;
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
41
|
+
name: string;
|
42
|
+
locale: string;
|
43
|
+
}, {
|
44
|
+
name: string;
|
45
|
+
locale: string;
|
46
|
+
}>;
|
47
|
+
export declare const CredentialFormat: z.ZodUnion<[z.ZodLiteral<"vc+sd-jwt">, z.ZodLiteral<"example+sd-jwt">]>;
|
48
|
+
export type CredentialConfigurationSupported = z.infer<typeof CredentialConfigurationSupported>;
|
49
|
+
export declare const CredentialConfigurationSupported: z.ZodRecord<z.ZodString, z.ZodObject<{
|
50
|
+
cryptographic_suites_supported: z.ZodArray<z.ZodString, "many">;
|
51
|
+
vct: z.ZodString;
|
52
|
+
scope: z.ZodString;
|
53
|
+
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
|
54
|
+
display: z.ZodArray<z.ZodObject<{
|
55
|
+
name: z.ZodString;
|
56
|
+
locale: z.ZodString;
|
57
|
+
logo: z.ZodOptional<z.ZodObject<{
|
58
|
+
url: z.ZodString;
|
59
|
+
alt_text: z.ZodString;
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
61
|
+
url: string;
|
62
|
+
alt_text: string;
|
63
|
+
}, {
|
64
|
+
url: string;
|
65
|
+
alt_text: string;
|
66
|
+
}>>;
|
67
|
+
background_color: z.ZodOptional<z.ZodString>;
|
68
|
+
text_color: z.ZodOptional<z.ZodString>;
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
70
|
+
name: string;
|
71
|
+
locale: string;
|
72
|
+
logo?: {
|
73
|
+
url: string;
|
74
|
+
alt_text: string;
|
75
|
+
} | undefined;
|
76
|
+
background_color?: string | undefined;
|
77
|
+
text_color?: string | undefined;
|
78
|
+
}, {
|
79
|
+
name: string;
|
80
|
+
locale: string;
|
81
|
+
logo?: {
|
82
|
+
url: string;
|
83
|
+
alt_text: string;
|
84
|
+
} | undefined;
|
85
|
+
background_color?: string | undefined;
|
86
|
+
text_color?: string | undefined;
|
87
|
+
}>, "many">;
|
88
|
+
format: z.ZodUnion<[z.ZodLiteral<"vc+sd-jwt">, z.ZodLiteral<"example+sd-jwt">]>;
|
89
|
+
claims: z.ZodRecord<z.ZodString, z.ZodObject<{
|
90
|
+
mandatory: z.ZodBoolean;
|
91
|
+
display: z.ZodArray<z.ZodObject<{
|
92
|
+
name: z.ZodString;
|
93
|
+
locale: z.ZodString;
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
95
|
+
name: string;
|
96
|
+
locale: string;
|
97
|
+
}, {
|
98
|
+
name: string;
|
99
|
+
locale: string;
|
100
|
+
}>, "many">;
|
101
|
+
}, "strip", z.ZodTypeAny, {
|
102
|
+
mandatory: boolean;
|
103
|
+
display: {
|
104
|
+
name: string;
|
105
|
+
locale: string;
|
106
|
+
}[];
|
107
|
+
}, {
|
108
|
+
mandatory: boolean;
|
109
|
+
display: {
|
110
|
+
name: string;
|
111
|
+
locale: string;
|
112
|
+
}[];
|
113
|
+
}>>;
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
115
|
+
display: {
|
116
|
+
name: string;
|
117
|
+
locale: string;
|
118
|
+
logo?: {
|
119
|
+
url: string;
|
120
|
+
alt_text: string;
|
121
|
+
} | undefined;
|
122
|
+
background_color?: string | undefined;
|
123
|
+
text_color?: string | undefined;
|
124
|
+
}[];
|
125
|
+
cryptographic_suites_supported: string[];
|
126
|
+
vct: string;
|
127
|
+
scope: string;
|
128
|
+
cryptographic_binding_methods_supported: string[];
|
129
|
+
format: "vc+sd-jwt" | "example+sd-jwt";
|
130
|
+
claims: Record<string, {
|
131
|
+
mandatory: boolean;
|
132
|
+
display: {
|
133
|
+
name: string;
|
134
|
+
locale: string;
|
135
|
+
}[];
|
136
|
+
}>;
|
137
|
+
}, {
|
138
|
+
display: {
|
139
|
+
name: string;
|
140
|
+
locale: string;
|
141
|
+
logo?: {
|
142
|
+
url: string;
|
143
|
+
alt_text: string;
|
144
|
+
} | undefined;
|
145
|
+
background_color?: string | undefined;
|
146
|
+
text_color?: string | undefined;
|
147
|
+
}[];
|
148
|
+
cryptographic_suites_supported: string[];
|
149
|
+
vct: string;
|
150
|
+
scope: string;
|
151
|
+
cryptographic_binding_methods_supported: string[];
|
152
|
+
format: "vc+sd-jwt" | "example+sd-jwt";
|
153
|
+
claims: Record<string, {
|
154
|
+
mandatory: boolean;
|
155
|
+
display: {
|
156
|
+
name: string;
|
157
|
+
locale: string;
|
158
|
+
}[];
|
159
|
+
}>;
|
160
|
+
}>>;
|
161
|
+
export type CredentialIssuerKeys = z.infer<typeof CredentialIssuerKeys>;
|
162
|
+
export declare const CredentialIssuerKeys: z.ZodObject<{
|
163
|
+
keys: z.ZodArray<z.ZodObject<{
|
164
|
+
alg: z.ZodOptional<z.ZodString>;
|
165
|
+
crv: z.ZodOptional<z.ZodString>;
|
166
|
+
d: z.ZodOptional<z.ZodString>;
|
167
|
+
dp: z.ZodOptional<z.ZodString>;
|
168
|
+
dq: z.ZodOptional<z.ZodString>;
|
169
|
+
e: z.ZodOptional<z.ZodString>;
|
170
|
+
ext: z.ZodOptional<z.ZodBoolean>;
|
171
|
+
k: z.ZodOptional<z.ZodString>;
|
172
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
173
|
+
kid: z.ZodOptional<z.ZodString>;
|
174
|
+
kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
|
175
|
+
n: z.ZodOptional<z.ZodString>;
|
176
|
+
p: z.ZodOptional<z.ZodString>;
|
177
|
+
q: z.ZodOptional<z.ZodString>;
|
178
|
+
qi: z.ZodOptional<z.ZodString>;
|
179
|
+
use: z.ZodOptional<z.ZodString>;
|
180
|
+
x: z.ZodOptional<z.ZodString>;
|
181
|
+
y: z.ZodOptional<z.ZodString>;
|
182
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
183
|
+
x5t: z.ZodOptional<z.ZodString>;
|
184
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
185
|
+
x5u: z.ZodOptional<z.ZodString>;
|
186
|
+
}, "strip", z.ZodTypeAny, {
|
187
|
+
kty: "RSA" | "EC";
|
188
|
+
alg?: string | undefined;
|
189
|
+
crv?: string | undefined;
|
190
|
+
d?: string | undefined;
|
191
|
+
dp?: string | undefined;
|
192
|
+
dq?: string | undefined;
|
193
|
+
e?: string | undefined;
|
194
|
+
ext?: boolean | undefined;
|
195
|
+
k?: string | undefined;
|
196
|
+
key_ops?: string[] | undefined;
|
197
|
+
kid?: string | undefined;
|
198
|
+
n?: string | undefined;
|
199
|
+
p?: string | undefined;
|
200
|
+
q?: string | undefined;
|
201
|
+
qi?: string | undefined;
|
202
|
+
use?: string | undefined;
|
203
|
+
x?: string | undefined;
|
204
|
+
y?: string | undefined;
|
205
|
+
x5c?: string[] | undefined;
|
206
|
+
x5t?: string | undefined;
|
207
|
+
"x5t#S256"?: string | undefined;
|
208
|
+
x5u?: string | undefined;
|
209
|
+
}, {
|
210
|
+
kty: "RSA" | "EC";
|
211
|
+
alg?: string | undefined;
|
212
|
+
crv?: string | undefined;
|
213
|
+
d?: string | undefined;
|
214
|
+
dp?: string | undefined;
|
215
|
+
dq?: string | undefined;
|
216
|
+
e?: string | undefined;
|
217
|
+
ext?: boolean | undefined;
|
218
|
+
k?: string | undefined;
|
219
|
+
key_ops?: string[] | undefined;
|
220
|
+
kid?: string | undefined;
|
221
|
+
n?: string | undefined;
|
222
|
+
p?: string | undefined;
|
223
|
+
q?: string | undefined;
|
224
|
+
qi?: string | undefined;
|
225
|
+
use?: string | undefined;
|
226
|
+
x?: string | undefined;
|
227
|
+
y?: string | undefined;
|
228
|
+
x5c?: string[] | undefined;
|
229
|
+
x5t?: string | undefined;
|
230
|
+
"x5t#S256"?: string | undefined;
|
231
|
+
x5u?: string | undefined;
|
232
|
+
}>, "many">;
|
233
|
+
}, "strip", z.ZodTypeAny, {
|
234
|
+
keys: {
|
235
|
+
kty: "RSA" | "EC";
|
236
|
+
alg?: string | undefined;
|
237
|
+
crv?: string | undefined;
|
238
|
+
d?: string | undefined;
|
239
|
+
dp?: string | undefined;
|
240
|
+
dq?: string | undefined;
|
241
|
+
e?: string | undefined;
|
242
|
+
ext?: boolean | undefined;
|
243
|
+
k?: string | undefined;
|
244
|
+
key_ops?: string[] | undefined;
|
245
|
+
kid?: string | undefined;
|
246
|
+
n?: string | undefined;
|
247
|
+
p?: string | undefined;
|
248
|
+
q?: string | undefined;
|
249
|
+
qi?: string | undefined;
|
250
|
+
use?: string | undefined;
|
251
|
+
x?: string | undefined;
|
252
|
+
y?: string | undefined;
|
253
|
+
x5c?: string[] | undefined;
|
254
|
+
x5t?: string | undefined;
|
255
|
+
"x5t#S256"?: string | undefined;
|
256
|
+
x5u?: string | undefined;
|
257
|
+
}[];
|
258
|
+
}, {
|
259
|
+
keys: {
|
260
|
+
kty: "RSA" | "EC";
|
261
|
+
alg?: string | undefined;
|
262
|
+
crv?: string | undefined;
|
263
|
+
d?: string | undefined;
|
264
|
+
dp?: string | undefined;
|
265
|
+
dq?: string | undefined;
|
266
|
+
e?: string | undefined;
|
267
|
+
ext?: boolean | undefined;
|
268
|
+
k?: string | undefined;
|
269
|
+
key_ops?: string[] | undefined;
|
270
|
+
kid?: string | undefined;
|
271
|
+
n?: string | undefined;
|
272
|
+
p?: string | undefined;
|
273
|
+
q?: string | undefined;
|
274
|
+
qi?: string | undefined;
|
275
|
+
use?: string | undefined;
|
276
|
+
x?: string | undefined;
|
277
|
+
y?: string | undefined;
|
278
|
+
x5c?: string[] | undefined;
|
279
|
+
x5t?: string | undefined;
|
280
|
+
"x5t#S256"?: string | undefined;
|
281
|
+
x5u?: string | undefined;
|
282
|
+
}[];
|
283
|
+
}>;
|
284
|
+
export type CredentialIssuerConfiguration = z.infer<typeof CredentialIssuerConfiguration>;
|
285
|
+
export declare const CredentialIssuerConfiguration: z.ZodObject<{
|
286
|
+
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
|
287
|
+
cryptographic_suites_supported: z.ZodArray<z.ZodString, "many">;
|
288
|
+
vct: z.ZodString;
|
289
|
+
scope: z.ZodString;
|
290
|
+
cryptographic_binding_methods_supported: z.ZodArray<z.ZodString, "many">;
|
291
|
+
display: z.ZodArray<z.ZodObject<{
|
292
|
+
name: z.ZodString;
|
293
|
+
locale: z.ZodString;
|
294
|
+
logo: z.ZodOptional<z.ZodObject<{
|
295
|
+
url: z.ZodString;
|
296
|
+
alt_text: z.ZodString;
|
297
|
+
}, "strip", z.ZodTypeAny, {
|
298
|
+
url: string;
|
299
|
+
alt_text: string;
|
300
|
+
}, {
|
301
|
+
url: string;
|
302
|
+
alt_text: string;
|
303
|
+
}>>;
|
304
|
+
background_color: z.ZodOptional<z.ZodString>;
|
305
|
+
text_color: z.ZodOptional<z.ZodString>;
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
307
|
+
name: string;
|
308
|
+
locale: string;
|
309
|
+
logo?: {
|
310
|
+
url: string;
|
311
|
+
alt_text: string;
|
312
|
+
} | undefined;
|
313
|
+
background_color?: string | undefined;
|
314
|
+
text_color?: string | undefined;
|
315
|
+
}, {
|
316
|
+
name: string;
|
317
|
+
locale: string;
|
318
|
+
logo?: {
|
319
|
+
url: string;
|
320
|
+
alt_text: string;
|
321
|
+
} | undefined;
|
322
|
+
background_color?: string | undefined;
|
323
|
+
text_color?: string | undefined;
|
324
|
+
}>, "many">;
|
325
|
+
format: z.ZodUnion<[z.ZodLiteral<"vc+sd-jwt">, z.ZodLiteral<"example+sd-jwt">]>;
|
326
|
+
claims: z.ZodRecord<z.ZodString, z.ZodObject<{
|
327
|
+
mandatory: z.ZodBoolean;
|
328
|
+
display: z.ZodArray<z.ZodObject<{
|
329
|
+
name: z.ZodString;
|
330
|
+
locale: z.ZodString;
|
331
|
+
}, "strip", z.ZodTypeAny, {
|
332
|
+
name: string;
|
333
|
+
locale: string;
|
334
|
+
}, {
|
335
|
+
name: string;
|
336
|
+
locale: string;
|
337
|
+
}>, "many">;
|
338
|
+
}, "strip", z.ZodTypeAny, {
|
339
|
+
mandatory: boolean;
|
340
|
+
display: {
|
341
|
+
name: string;
|
342
|
+
locale: string;
|
343
|
+
}[];
|
344
|
+
}, {
|
345
|
+
mandatory: boolean;
|
346
|
+
display: {
|
347
|
+
name: string;
|
348
|
+
locale: string;
|
349
|
+
}[];
|
350
|
+
}>>;
|
351
|
+
}, "strip", z.ZodTypeAny, {
|
352
|
+
display: {
|
353
|
+
name: string;
|
354
|
+
locale: string;
|
355
|
+
logo?: {
|
356
|
+
url: string;
|
357
|
+
alt_text: string;
|
358
|
+
} | undefined;
|
359
|
+
background_color?: string | undefined;
|
360
|
+
text_color?: string | undefined;
|
361
|
+
}[];
|
362
|
+
cryptographic_suites_supported: string[];
|
363
|
+
vct: string;
|
364
|
+
scope: string;
|
365
|
+
cryptographic_binding_methods_supported: string[];
|
366
|
+
format: "vc+sd-jwt" | "example+sd-jwt";
|
367
|
+
claims: Record<string, {
|
368
|
+
mandatory: boolean;
|
369
|
+
display: {
|
370
|
+
name: string;
|
371
|
+
locale: string;
|
372
|
+
}[];
|
373
|
+
}>;
|
374
|
+
}, {
|
375
|
+
display: {
|
376
|
+
name: string;
|
377
|
+
locale: string;
|
378
|
+
logo?: {
|
379
|
+
url: string;
|
380
|
+
alt_text: string;
|
381
|
+
} | undefined;
|
382
|
+
background_color?: string | undefined;
|
383
|
+
text_color?: string | undefined;
|
384
|
+
}[];
|
385
|
+
cryptographic_suites_supported: string[];
|
386
|
+
vct: string;
|
387
|
+
scope: string;
|
388
|
+
cryptographic_binding_methods_supported: string[];
|
389
|
+
format: "vc+sd-jwt" | "example+sd-jwt";
|
390
|
+
claims: Record<string, {
|
391
|
+
mandatory: boolean;
|
392
|
+
display: {
|
393
|
+
name: string;
|
394
|
+
locale: string;
|
395
|
+
}[];
|
396
|
+
}>;
|
397
|
+
}>>;
|
398
|
+
pushed_authorization_request_endpoint: z.ZodString;
|
399
|
+
dpop_signing_alg_values_supported: z.ZodArray<z.ZodString, "many">;
|
400
|
+
jwks: z.ZodObject<{
|
401
|
+
keys: z.ZodArray<z.ZodObject<{
|
402
|
+
alg: z.ZodOptional<z.ZodString>;
|
403
|
+
crv: z.ZodOptional<z.ZodString>;
|
404
|
+
d: z.ZodOptional<z.ZodString>;
|
405
|
+
dp: z.ZodOptional<z.ZodString>;
|
406
|
+
dq: z.ZodOptional<z.ZodString>;
|
407
|
+
e: z.ZodOptional<z.ZodString>;
|
408
|
+
ext: z.ZodOptional<z.ZodBoolean>;
|
409
|
+
k: z.ZodOptional<z.ZodString>;
|
410
|
+
key_ops: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
411
|
+
kid: z.ZodOptional<z.ZodString>;
|
412
|
+
kty: z.ZodUnion<[z.ZodLiteral<"RSA">, z.ZodLiteral<"EC">]>;
|
413
|
+
n: z.ZodOptional<z.ZodString>;
|
414
|
+
p: z.ZodOptional<z.ZodString>;
|
415
|
+
q: z.ZodOptional<z.ZodString>;
|
416
|
+
qi: z.ZodOptional<z.ZodString>;
|
417
|
+
use: z.ZodOptional<z.ZodString>;
|
418
|
+
x: z.ZodOptional<z.ZodString>;
|
419
|
+
y: z.ZodOptional<z.ZodString>;
|
420
|
+
x5c: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
421
|
+
x5t: z.ZodOptional<z.ZodString>;
|
422
|
+
"x5t#S256": z.ZodOptional<z.ZodString>;
|
423
|
+
x5u: z.ZodOptional<z.ZodString>;
|
424
|
+
}, "strip", z.ZodTypeAny, {
|
425
|
+
kty: "RSA" | "EC";
|
426
|
+
alg?: string | undefined;
|
427
|
+
crv?: string | undefined;
|
428
|
+
d?: string | undefined;
|
429
|
+
dp?: string | undefined;
|
430
|
+
dq?: string | undefined;
|
431
|
+
e?: string | undefined;
|
432
|
+
ext?: boolean | undefined;
|
433
|
+
k?: string | undefined;
|
434
|
+
key_ops?: string[] | undefined;
|
435
|
+
kid?: string | undefined;
|
436
|
+
n?: string | undefined;
|
437
|
+
p?: string | undefined;
|
438
|
+
q?: string | undefined;
|
439
|
+
qi?: string | undefined;
|
440
|
+
use?: string | undefined;
|
441
|
+
x?: string | undefined;
|
442
|
+
y?: string | undefined;
|
443
|
+
x5c?: string[] | undefined;
|
444
|
+
x5t?: string | undefined;
|
445
|
+
"x5t#S256"?: string | undefined;
|
446
|
+
x5u?: string | undefined;
|
447
|
+
}, {
|
448
|
+
kty: "RSA" | "EC";
|
449
|
+
alg?: string | undefined;
|
450
|
+
crv?: string | undefined;
|
451
|
+
d?: string | undefined;
|
452
|
+
dp?: string | undefined;
|
453
|
+
dq?: string | undefined;
|
454
|
+
e?: string | undefined;
|
455
|
+
ext?: boolean | undefined;
|
456
|
+
k?: string | undefined;
|
457
|
+
key_ops?: string[] | undefined;
|
458
|
+
kid?: string | undefined;
|
459
|
+
n?: string | undefined;
|
460
|
+
p?: string | undefined;
|
461
|
+
q?: string | undefined;
|
462
|
+
qi?: string | undefined;
|
463
|
+
use?: string | undefined;
|
464
|
+
x?: string | undefined;
|
465
|
+
y?: string | undefined;
|
466
|
+
x5c?: string[] | undefined;
|
467
|
+
x5t?: string | undefined;
|
468
|
+
"x5t#S256"?: string | undefined;
|
469
|
+
x5u?: string | undefined;
|
470
|
+
}>, "many">;
|
471
|
+
}, "strip", z.ZodTypeAny, {
|
472
|
+
keys: {
|
473
|
+
kty: "RSA" | "EC";
|
474
|
+
alg?: string | undefined;
|
475
|
+
crv?: string | undefined;
|
476
|
+
d?: string | undefined;
|
477
|
+
dp?: string | undefined;
|
478
|
+
dq?: string | undefined;
|
479
|
+
e?: string | undefined;
|
480
|
+
ext?: boolean | undefined;
|
481
|
+
k?: string | undefined;
|
482
|
+
key_ops?: string[] | undefined;
|
483
|
+
kid?: string | undefined;
|
484
|
+
n?: string | undefined;
|
485
|
+
p?: string | undefined;
|
486
|
+
q?: string | undefined;
|
487
|
+
qi?: string | undefined;
|
488
|
+
use?: string | undefined;
|
489
|
+
x?: string | undefined;
|
490
|
+
y?: string | undefined;
|
491
|
+
x5c?: string[] | undefined;
|
492
|
+
x5t?: string | undefined;
|
493
|
+
"x5t#S256"?: string | undefined;
|
494
|
+
x5u?: string | undefined;
|
495
|
+
}[];
|
496
|
+
}, {
|
497
|
+
keys: {
|
498
|
+
kty: "RSA" | "EC";
|
499
|
+
alg?: string | undefined;
|
500
|
+
crv?: string | undefined;
|
501
|
+
d?: string | undefined;
|
502
|
+
dp?: string | undefined;
|
503
|
+
dq?: string | undefined;
|
504
|
+
e?: string | undefined;
|
505
|
+
ext?: boolean | undefined;
|
506
|
+
k?: string | undefined;
|
507
|
+
key_ops?: string[] | undefined;
|
508
|
+
kid?: string | undefined;
|
509
|
+
n?: string | undefined;
|
510
|
+
p?: string | undefined;
|
511
|
+
q?: string | undefined;
|
512
|
+
qi?: string | undefined;
|
513
|
+
use?: string | undefined;
|
514
|
+
x?: string | undefined;
|
515
|
+
y?: string | undefined;
|
516
|
+
x5c?: string[] | undefined;
|
517
|
+
x5t?: string | undefined;
|
518
|
+
"x5t#S256"?: string | undefined;
|
519
|
+
x5u?: string | undefined;
|
520
|
+
}[];
|
521
|
+
}>;
|
522
|
+
credential_issuer: z.ZodString;
|
523
|
+
authorization_endpoint: z.ZodString;
|
524
|
+
token_endpoint: z.ZodString;
|
525
|
+
credential_endpoint: z.ZodString;
|
526
|
+
}, "strip", z.ZodTypeAny, {
|
527
|
+
credential_configurations_supported: Record<string, {
|
528
|
+
display: {
|
529
|
+
name: string;
|
530
|
+
locale: string;
|
531
|
+
logo?: {
|
532
|
+
url: string;
|
533
|
+
alt_text: string;
|
534
|
+
} | undefined;
|
535
|
+
background_color?: string | undefined;
|
536
|
+
text_color?: string | undefined;
|
537
|
+
}[];
|
538
|
+
cryptographic_suites_supported: string[];
|
539
|
+
vct: string;
|
540
|
+
scope: string;
|
541
|
+
cryptographic_binding_methods_supported: string[];
|
542
|
+
format: "vc+sd-jwt" | "example+sd-jwt";
|
543
|
+
claims: Record<string, {
|
544
|
+
mandatory: boolean;
|
545
|
+
display: {
|
546
|
+
name: string;
|
547
|
+
locale: string;
|
548
|
+
}[];
|
549
|
+
}>;
|
550
|
+
}>;
|
551
|
+
pushed_authorization_request_endpoint: string;
|
552
|
+
dpop_signing_alg_values_supported: string[];
|
553
|
+
jwks: {
|
554
|
+
keys: {
|
555
|
+
kty: "RSA" | "EC";
|
556
|
+
alg?: string | undefined;
|
557
|
+
crv?: string | undefined;
|
558
|
+
d?: string | undefined;
|
559
|
+
dp?: string | undefined;
|
560
|
+
dq?: string | undefined;
|
561
|
+
e?: string | undefined;
|
562
|
+
ext?: boolean | undefined;
|
563
|
+
k?: string | undefined;
|
564
|
+
key_ops?: string[] | undefined;
|
565
|
+
kid?: string | undefined;
|
566
|
+
n?: string | undefined;
|
567
|
+
p?: string | undefined;
|
568
|
+
q?: string | undefined;
|
569
|
+
qi?: string | undefined;
|
570
|
+
use?: string | undefined;
|
571
|
+
x?: string | undefined;
|
572
|
+
y?: string | undefined;
|
573
|
+
x5c?: string[] | undefined;
|
574
|
+
x5t?: string | undefined;
|
575
|
+
"x5t#S256"?: string | undefined;
|
576
|
+
x5u?: string | undefined;
|
577
|
+
}[];
|
578
|
+
};
|
579
|
+
credential_issuer: string;
|
580
|
+
authorization_endpoint: string;
|
581
|
+
token_endpoint: string;
|
582
|
+
credential_endpoint: string;
|
583
|
+
}, {
|
584
|
+
credential_configurations_supported: Record<string, {
|
585
|
+
display: {
|
586
|
+
name: string;
|
587
|
+
locale: string;
|
588
|
+
logo?: {
|
589
|
+
url: string;
|
590
|
+
alt_text: string;
|
591
|
+
} | undefined;
|
592
|
+
background_color?: string | undefined;
|
593
|
+
text_color?: string | undefined;
|
594
|
+
}[];
|
595
|
+
cryptographic_suites_supported: string[];
|
596
|
+
vct: string;
|
597
|
+
scope: string;
|
598
|
+
cryptographic_binding_methods_supported: string[];
|
599
|
+
format: "vc+sd-jwt" | "example+sd-jwt";
|
600
|
+
claims: Record<string, {
|
601
|
+
mandatory: boolean;
|
602
|
+
display: {
|
603
|
+
name: string;
|
604
|
+
locale: string;
|
605
|
+
}[];
|
606
|
+
}>;
|
607
|
+
}>;
|
608
|
+
pushed_authorization_request_endpoint: string;
|
609
|
+
dpop_signing_alg_values_supported: string[];
|
610
|
+
jwks: {
|
611
|
+
keys: {
|
612
|
+
kty: "RSA" | "EC";
|
613
|
+
alg?: string | undefined;
|
614
|
+
crv?: string | undefined;
|
615
|
+
d?: string | undefined;
|
616
|
+
dp?: string | undefined;
|
617
|
+
dq?: string | undefined;
|
618
|
+
e?: string | undefined;
|
619
|
+
ext?: boolean | undefined;
|
620
|
+
k?: string | undefined;
|
621
|
+
key_ops?: string[] | undefined;
|
622
|
+
kid?: string | undefined;
|
623
|
+
n?: string | undefined;
|
624
|
+
p?: string | undefined;
|
625
|
+
q?: string | undefined;
|
626
|
+
qi?: string | undefined;
|
627
|
+
use?: string | undefined;
|
628
|
+
x?: string | undefined;
|
629
|
+
y?: string | undefined;
|
630
|
+
x5c?: string[] | undefined;
|
631
|
+
x5t?: string | undefined;
|
632
|
+
"x5t#S256"?: string | undefined;
|
633
|
+
x5u?: string | undefined;
|
634
|
+
}[];
|
635
|
+
};
|
636
|
+
credential_issuer: string;
|
637
|
+
authorization_endpoint: string;
|
638
|
+
token_endpoint: string;
|
639
|
+
credential_endpoint: string;
|
640
|
+
}>;
|
641
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/entity/openid-connect/issuer/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW5B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;EAGjC,CAAC;AAEH,eAAO,MAAM,gBAAgB,yEAG3B,CAAC;AAQH,MAAM,MAAM,gCAAgC,GAAG,CAAC,CAAC,KAAK,CACpD,OAAO,gCAAgC,CACxC,CAAC;AACF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAU5C,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACxE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,6BAA6B,CACrC,CAAC;AACF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASxC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../../../../src/entity/trust/chain.ts"],"names":[],"mappings":"AAIA,OAAO,EAGL,8BAA8B,EAC/B,MAAM,SAAS,CAAC;AAIjB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kDAAkD,CAAC;AAGxF,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,eAAe,CAAC,iBAAiB,CAAC,CAAC;IAC3C,OAAO,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;CACrC,CAAC;AAiCF;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACtC,iBAAiB,EAAE,8BAA8B,EACjD,KAAK,EAAE,MAAM,EAAE,GACd,OAAO,CAAC,WAAW,EAAE,CAAC,CA+CxB;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,KAAK,EAAE,MAAM,EAAE,EACf,QAAQ,GAAE,WAAW,CAAC,OAAO,CAAS,qBA6BvC"}
|