wip passkey registration

This commit is contained in:
2026-04-11 18:56:04 -04:00
parent 4325280020
commit 7a43d5c11f
6 changed files with 70 additions and 13 deletions
+4 -1
View File
@@ -1,4 +1,6 @@
using Microsoft.IdentityModel.Tokens;
using Fido2NetLib.Objects;
using Microsoft.IdentityModel.Tokens;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
@@ -19,6 +21,7 @@ public class User
public bool IsArgon { get; set; }
public ObjectId[] ApiKeys { get; set; } = [];
public List<ObjectId> RegTokens { get; set; } = [];
public List<PublicKeyCredentialDescriptor> CredentialDescriptors { get; set; } = [];
public ClaimsIdentity GetIdentity()
{