namespace Acl.Infrastructure;
///
/// Connection + credential config for the Objecten and Objecttypen APIs. Both authenticate with a
/// static Authorization: Token … (they are not ZGW JWT APIs), so there is no client-id/secret
/// pair as with OpenZaak.
///
public sealed class ObjectenOptions
{
public required Uri BaseUrl { get; init; }
public required string Token { get; init; }
/// Objecttypen API root — the ACL resolves the objecttype URL + version from it by name
/// rather than pinning a seed-time UUID in config (same reasoning as ADR-0021).
public required Uri ObjecttypenBaseUrl { get; init; }
public required string ObjecttypenToken { get; init; }
/// The objecttype the register record is written as (S-18c registers "RegisterRecord").
public required string ObjecttypeName { get; init; }
}