Skip to content

Conversation

@JoTiTu
Copy link
Contributor

@JoTiTu JoTiTu commented Oct 24, 2025

Short description of what this resolves:

  • introduce credential_metadata in issuer metadata
  • drop attribute order support
  • drop backwards compatibility in issuer metadata with old specs

@JoTiTu JoTiTu requested a review from Dindexx October 24, 2025 10:18
Signed-off-by: Johannes Tuerk <[email protected]>
…-framework-dotnet into algin-isser-metadata-with-oid4vci1.0

Signed-off-by: Johannes Tuerk <[email protected]>
@JoTiTu JoTiTu changed the base branch from main to v3.0.0 October 28, 2025 10:37
select path;
}

public static JArray ToArray(ClaimPath claimPath)
Copy link
Contributor

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 =>
Copy link
Contributor

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)
Copy link
Contributor

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
Copy link
Contributor

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; }
Copy link
Contributor

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; }
Copy link
Contributor

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
Copy link
Contributor

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

Copy link
Contributor Author

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()
Copy link
Contributor

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()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this sample

JoTiTu and others added 2 commits October 29, 2025 14:04
Signed-off-by: Johannes Tuerk <[email protected]>
Signed-off-by: Kevin <[email protected]>
Copy link
Contributor

@Dindexx Dindexx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants