Skip to content

Commit

Permalink
Support credProps. (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashendrickx authored Nov 8, 2023
1 parent cd4e306 commit b0f829e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Passwordless/Models/Credential.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,19 @@ public Credential(CredentialDescriptor descriptor, byte[] publicKey, byte[] user
/// Identifier for the user
/// </summary>
public string UserId { get; }

/// <summary>
/// Whether the credential is synced (or backed up or not).
/// </summary>
public bool? BackupState { get; set; }

/// <summary>
/// Whether the credential is eligible for backup or syncing
/// </summary>
public bool? IsBackupEligible { get; set; }

/// <summary>
/// Whether the credential is discoverable
/// </summary>
public bool? IsDiscoverable { get; set; }
}

0 comments on commit b0f829e

Please sign in to comment.