metrics service

fixes to auth info
This commit is contained in:
2025-07-05 23:55:40 -04:00
parent 5a34860fca
commit cc64675c9c
8 changed files with 104 additions and 15 deletions

View File

@@ -1,4 +1,6 @@
using MongoDB.Bson.IO;
using MongoDB.Bson;
using MongoDB.Bson.IO;
using MongoDB.Bson.Serialization.Attributes;
using System.Security.Cryptography;
using System.Text.Json;
@@ -7,6 +9,8 @@ namespace AobaServer.Models;
public class AuthInfo
{
[BsonId]
public ObjectId Id { get; set; }
public required string Issuer { get; set; }
public required string Audience { get; set; }
public required byte[] SecureKey { get; set; }