File tree Expand file tree Collapse file tree
packages/siop-oid4vp/lib/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 AdditionalClaims ,
55 CompactSdJwtVc ,
66 Format ,
7- IPresentation ,
87 MdocOid4vpMdocVpToken ,
98 W3CVerifiableCredential ,
109 W3CVerifiablePresentation ,
@@ -182,7 +181,7 @@ export interface AuthorizationResponsePayload {
182181 | CompactSdJwtVc
183182 | MdocOid4vpMdocVpToken
184183 | EncodedDcqlQueryVpToken
185- verifiedData ?: IPresentation | AdditionalClaims
184+ verified_data ?: VerifiedData
186185 is_first_party ?: boolean
187186 // eslint-disable-next-line @typescript-eslint/no-explicit-any
188187 [ x : string ] : any
@@ -678,3 +677,35 @@ export enum ContentType {
678677}
679678
680679export type CallbackOpts = z . infer < typeof CallbackOptsSchema > ;
680+
681+ export type VerifiedData = {
682+ authorization_response ?: VerifiedDataAuthorizationResponse
683+ credential_claims ?: Array < VerifiedDataClaimsSet >
684+ }
685+
686+ export type VerifiedDataClaimsSet = {
687+ id : string
688+ type : string
689+ claims ?: AdditionalClaims
690+ }
691+
692+ export type VerifiedDataAuthorizationResponse = {
693+ presentation_submission ?: Record < string , any >
694+ vp_token ?: VpToken
695+ }
696+
697+ export type SingleObjectVpTokenPE = Record < string , any >
698+
699+ export type SingleStringVpTokenPE = string
700+
701+ export type MultipleVpTokens = Array < SingleObjectVpTokenPE > | Array < SingleStringVpTokenPE >
702+
703+ export type MultipleVpTokenDCQL = {
704+ [ x : string ] : MultipleVpTokens
705+ }
706+
707+ export type VpToken =
708+ | SingleObjectVpTokenPE
709+ | SingleStringVpTokenPE
710+ | MultipleVpTokens
711+ | MultipleVpTokenDCQL
You can’t perform that action at this time.
0 commit comments