Skip to content

Commit

Permalink
Fix alternativeDescriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
joegoldman2 committed Sep 16, 2024
1 parent 5ac0f2a commit 7c0fd5c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 31 deletions.
27 changes: 0 additions & 27 deletions Src/Fido2.Models/Metadata/AlternativeDescriptions.cs

This file was deleted.

2 changes: 1 addition & 1 deletion Src/Fido2.Models/Metadata/AuthenticatorStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Fido2NetLib;
/// Describes the status of an authenticator model as identified by its AAID and potentially some additional information (such as a specific attestation key).
/// </summary>
/// <remarks>
/// <see href="https://fidoalliance.org/specs/fido-v2.0-rd-20180702/fido-metadata-service-v2.0-rd-20180702.html#authenticatorstatus-enum"/>
/// <see href="https://fidoalliance.org/specs/mds/fido-metadata-service-v3.0-ps-20210518.html#authenticatorstatus-enum"/>
/// </remarks>
[JsonConverter(typeof(JsonStringEnumConverter<AuthenticatorStatus>))]
public enum AuthenticatorStatus
Expand Down
2 changes: 1 addition & 1 deletion Src/Fido2.Models/Metadata/BiometricStatusReport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Fido2NetLib;
/// Contains the current BiometricStatusReport of one of the authenticator's biometric component.
/// </summary>
/// <remarks>
/// <see href="https://fidoalliance.org/specs/fido-v2.0-rd-20180702/fido-metadata-service-v2.0-rd-20180702.html#biometricstatusreport-dictionary"/>
/// <see href="https://fidoalliance.org/specs/mds/fido-metadata-service-v3.0-ps-20210518.html#biometricstatusreport-dictionary"/>
/// </remarks>
public class BiometricStatusReport
{
Expand Down
3 changes: 2 additions & 1 deletion Src/Fido2.Models/Metadata/MetadataStatement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ public class MetadataStatement
/// <summary>
/// Gets or set a list of human-readable short descriptions of the authenticator in different languages.
/// </summary>
/// <value>A dictionary where keys are IETF language codes (e.g. "de-AT" for Austrian-German) and values are human-readable descriptions.</value>
[JsonPropertyName("alternativeDescriptions")]
public AlternativeDescriptions IETFLanguageCodesMembers { get; set; }
public IDictionary<string, string> AlternativeDescriptions { get; set; }

/// <summary>
/// Gets or set earliest (i.e. lowest) trustworthy authenticatorVersion meeting the requirements specified in this metadata statement.
Expand Down
2 changes: 1 addition & 1 deletion Src/Fido2.Models/Metadata/StatusReport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace Fido2NetLib;
/// Contains an AuthenticatorStatus and additional data associated with it, if any.
/// </summary>
/// <remarks>
/// <see href="https://fidoalliance.org/specs/fido-v2.0-rd-20180702/fido-metadata-service-v2.0-rd-20180702.html#statusreport-dictionary"/>
/// <see href="https://fidoalliance.org/specs/mds/fido-metadata-service-v3.0-ps-20210518.html#statusreport-dictionary"/>
/// </remarks>
public sealed class StatusReport
{
Expand Down

0 comments on commit 7c0fd5c

Please sign in to comment.