- Added BootstrapInviteRepository for managing bootstrap invites. - Added ClientRepository for handling OAuth/OpenID clients. - Introduced LoginAttemptRepository for logging login attempts. - Created OidcTokenRepository for managing OpenIddict tokens and refresh tokens. - Implemented RevocationExportStateRepository for persisting revocation export state. - Added RevocationRepository for managing revocations. - Introduced ServiceAccountRepository for handling service accounts.
21 lines
591 B
C#
21 lines
591 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using StellaOps.AirGap.Time.Models;
|
|
|
|
namespace StellaOps.AirGap.Controller.Endpoints.Contracts;
|
|
|
|
public sealed class SealRequest
|
|
{
|
|
[Required]
|
|
public string? PolicyHash { get; set; }
|
|
|
|
public TimeAnchor? TimeAnchor { get; set; }
|
|
|
|
public StalenessBudget? StalenessBudget { get; set; }
|
|
|
|
/// <summary>
|
|
/// Optional per-content staleness budgets (advisories, vex, policy).
|
|
/// Falls back to StalenessBudget when not provided.
|
|
/// </summary>
|
|
public Dictionary<string, StalenessBudget>? ContentBudgets { get; set; }
|
|
}
|