-
Couldn't load subscription status.
- Fork 9
Align IssuerMetadata with VCI 1.0 spec #438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v3.0.0
Are you sure you want to change the base?
Conversation
…r support Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
…-framework-dotnet into algin-isser-metadata-with-oid4vci1.0 Signed-off-by: Johannes Tuerk <[email protected]>
…-framework-dotnet into algin-isser-metadata-with-oid4vci1.0 Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Johannes Tuerk <[email protected]>
| select path; | ||
| } | ||
|
|
||
| public static JArray ToArray(ClaimPath claimPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ToJArray
| array.Add(new JValue(index)); | ||
| return Unit.Default; | ||
| }, | ||
| selectAll => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
value selectAll is never used
|
|
||
| public static class ClaimPathFun | ||
| { | ||
| public static JsonPath ToJsonPath(this ClaimPath claimPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use a StringBuilder
|
|
||
| namespace WalletFramework.Oid4Vc.Oid4Vci.CredConfiguration.Models; | ||
|
|
||
| public record ClaimDisplay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete the other legacy ClaimDisplays
|
|
||
| public record ClaimDisplay | ||
| { | ||
| public Option<string> Name { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove public setter
| { | ||
| public Option<string> Name { get; set; } | ||
|
|
||
| public Option<Locale> Locale { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove public setter
|
|
||
| namespace WalletFramework.Oid4Vc.Oid4Vci.CredConfiguration.Models; | ||
|
|
||
| public record ClaimDisplay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to have a name without a locale ? Otherwise, a name must be mapped by a locale and this is not reflected here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, according to the specs a name can exist without a locale. https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#appendix-B.2-2.3.1
| } | ||
|
|
||
| [Fact] | ||
| public void Can_Decode_And_Encode_From_Json_Draft14() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rename test
| } | ||
| }; | ||
|
|
||
| public static JObject EncodedAsJsonDraft15 => new() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this sample
Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Kevin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Johannes Tuerk <[email protected]>
Short description of what this resolves: