mirror of
https://github.com/bitwarden/server.git
synced 2026-02-02 15:13:19 +08:00
21 lines
543 B
C#
21 lines
543 B
C#
using System;
|
|
|
|
namespace Bit.Core.Models.Table
|
|
{
|
|
public class U2f : ITableObject<int>
|
|
{
|
|
public int Id { get; set; }
|
|
public Guid UserId { get; set; }
|
|
public string KeyHandle { get; set; }
|
|
public string Challenge { get; set; }
|
|
public string AppId { get; set; }
|
|
public string Version { get; set; }
|
|
public DateTime CreationDate { get; internal set; } = DateTime.UtcNow;
|
|
|
|
public void SetNewId()
|
|
{
|
|
// do nothing since it is an identity
|
|
}
|
|
}
|
|
}
|