Forge
csharp3407750f
1namespace AgentForge.Data.Entities;
2
3public enum ForgeDeviceLoginStatus
4{
5 Pending = 0,
6 Approved = 1,
7 Consumed = 2,
8 Denied = 3,
9}
10
11public sealed class ForgeDeviceLoginEntity
12{
13 public string Id { get; set; } = "";
14
15 public string DeviceCodeHash { get; set; } = "";
16
17 public string UserCode { get; set; } = "";
18
19 public string ClientName { get; set; } = "";
20
21 public ForgeDeviceLoginStatus Status { get; set; } = ForgeDeviceLoginStatus.Pending;
22
23 public string? IssuedTokenPlain { get; set; }
24
25 public string? TokenName { get; set; }
26
27 public string Scopes { get; set; } = "";
28
29 public DateTimeOffset CreatedAt { get; set; }
30
31 public DateTimeOffset ExpiresAt { get; set; }
32
33 public DateTimeOffset? ApprovedAt { get; set; }
34}
35
View only · write via MCP/CIDE