Skip to content
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

Update MetadataStatement to include friendly names #544

Merged
merged 4 commits into from
Oct 4, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion Src/Fido2.Models/Metadata/MetadataStatement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Fido2NetLib;
/// Represents the metadata statement.
/// </summary>
/// <remarks>
/// <see href="https://fidoalliance.org/specs/fido-v2.0-rd-20180702/fido-metadata-statement-v2.0-rd-20180702.html#metadata-keys"/>
/// <see href="https://fidoalliance.org/specs/mds/fido-metadata-statement-v3.0-ps-20210518.html"/>
/// </remarks>
public class MetadataStatement
{
Expand Down Expand Up @@ -48,6 +48,12 @@ public class MetadataStatement
[JsonPropertyName("description"), Required]
public string Description { get; set; }

/// <summary>
/// Gets or sets a human-readable, short description of the authenticator, in alternative languages.
joegoldman2 marked this conversation as resolved.
Show resolved Hide resolved
/// </summary>
[JsonPropertyName("friendlyNames")]
public IDictionary<string, string> FriendlyNames { get; set; }

/// <summary>
/// Gets or set a list of human-readable short descriptions of the authenticator in different languages.
/// </summary>
Expand Down
Loading