namespace SOR.Auth;
///
/// Bound from the "Keycloak" section of appsettings.
///
/// "Keycloak": {
/// "Authority": "https://auth.aeternalisgames.com/realms/aeternalis",
/// "ClientId": "sor-game"
/// }
///
/// Authority is the Keycloak realm URL — used as the JWT issuer and as the base
/// for OIDC discovery (Authority/.well-known/openid-configuration).
/// ClientId must match the "aud" claim in the access token.
///
public sealed class KeycloakOptions
{
public const string Section = "Keycloak";
/// Keycloak realm URL, e.g. https://auth.aeternalisgames.com/realms/aeternalis
public string Authority { get; set; } = string.Empty;
/// Keycloak client ID configured for the game, e.g. sor-game
public string ClientId { get; set; } = string.Empty;
}