Skip to content

Commit

Permalink
OIDC4VP draft 20 support #2524
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Mar 21, 2024
1 parent 483e4f7 commit cb7156c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/oidc4vc/lib/src/oidc4vp_draft_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ enum OIDC4VPDraftType {
draft13,
@JsonValue('18')
draft18,
@JsonValue('20')
draft20,
}

extension OIDC4VPDraftTypeX on OIDC4VPDraftType {
Expand All @@ -18,6 +20,8 @@ extension OIDC4VPDraftTypeX on OIDC4VPDraftType {
return 'Draft 13';
case OIDC4VPDraftType.draft18:
return 'Draft 18';
case OIDC4VPDraftType.draft20:
return 'Draft 20';
}
}
}

0 comments on commit cb7156c

Please sign in to comment.