Skip to content

Commit 6600b45

Browse files
Merge pull request #1567 from credebl/feat/oid4vp-notification
refactor: added authorizationRequestId param for querying verificatio…
2 parents 2608319 + 9ac7d54 commit 6600b45

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

apps/api-gateway/src/oid4vc-verification/dtos/oid4vc-verifier-presentation.dto.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ export class VerificationPresentationQueryDto {
5656
@IsUrl()
5757
authorizationRequestUri?: string;
5858

59+
@ApiPropertyOptional({
60+
description: 'The public id for the authorization request',
61+
example: '6b2f8428-7acc-4d18-8dac-e35a19b4ca4a'
62+
})
63+
@IsOptional()
64+
@IsString()
65+
authorizationRequestId?: string;
66+
5967
@ApiPropertyOptional({
6068
description: 'Nonce associated with the presentation',
6169
example: 'n-0S6_WzA2Mj'

apps/oid4vc-verification/interfaces/oid4vp-verifier.interfaces.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export interface VerificationSessionQuery {
2222
payloadState?: string;
2323
state?: OpenId4VcVerificationPresentationState;
2424
authorizationRequestUri?: string;
25+
authorizationRequestId?: string;
2526
nonce?: string;
2627
id?: string;
2728
}

0 commit comments

Comments
 (0)