Skip to content

Commit

Permalink
Update timeout data type to ulong (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
joegoldman2 authored Nov 17, 2023
1 parent ebfd75d commit 77f2da4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Src/Fido2.Models/AssertionOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class AssertionOptions : Fido2ResponseBase
/// This member specifies a time, in milliseconds, that the caller is willing to wait for the call to complete. This is treated as a hint, and MAY be overridden by the client.
/// </summary>
[JsonPropertyName("timeout")]
public uint Timeout { get; set; }
public ulong Timeout { get; set; }

/// <summary>
/// This OPTIONAL member specifies the relying party identifier claimed by the caller.If omitted, its value will be the CredentialsContainer object’s relevant settings object's origin's effective domain
Expand Down
8 changes: 4 additions & 4 deletions Src/Fido2.Models/CredentialCreateOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ public sealed class CredentialCreateOptions : Fido2ResponseBase
/// This member specifies a time, in milliseconds, that the caller is willing to wait for the call to complete. This is treated as a hint, and MAY be overridden by the platform.
/// </summary>
[JsonPropertyName("timeout")]
public long Timeout { get; set; }
public ulong Timeout { get; set; }

/// <summary>
/// This member is intended for use by Relying Parties that wish to express their preference for attestation conveyance.The default is none.
/// </summary>
[JsonPropertyName("attestation")]
public AttestationConveyancePreference Attestation { get; set; } = AttestationConveyancePreference.None;

public AttestationConveyancePreference Attestation { get; set; } = AttestationConveyancePreference.None;

/// <summary>
/// This member is intended for use by Relying Parties that wish to select the appropriate authenticators to participate in the create() operation.
/// </summary>
Expand Down Expand Up @@ -225,7 +225,7 @@ public ResidentKeyRequirement ResidentKey
/// </summary>
[Obsolete("Use property ResidentKey.")]
[JsonPropertyName("requireResidentKey")]
public bool RequireResidentKey
public bool RequireResidentKey
{
get => _requireResidentKey;
set
Expand Down

0 comments on commit 77f2da4

Please sign in to comment.