Skip to content

Commit

Permalink
docs: add TODO comment regarding subject_syntax_types_supported par…
Browse files Browse the repository at this point in the history
…ameter
  • Loading branch information
nanderstabel committed May 30, 2024
1 parent d095db0 commit 1689bb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions oid4vp/src/oid4vp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ impl Extension for OID4VP {
ClientMetadataResource::ClientMetadataUri(_) => unreachable!(),
ClientMetadataResource::ClientMetadata { other, .. } => {
let subject_syntax_types_supported: Vec<SubjectSyntaxType> = other
// TODO(ngdil): this is a custom implementation at the moment as `subject_syntax_types_supported` is
// strictly a `SIOPv2` Client Metadata parameter and is not mentioned in the `OID4VP` documentation. It
// is expected that that a similar parameter will be added to the `OID4VP` Client Metadata.
.get("subject_syntax_types_supported")
.and_then(|subject_syntax_types_supported| {
subject_syntax_types_supported
Expand Down

0 comments on commit 1689bb4

Please sign in to comment.