namespace StellaOps.Authority.Storage.Mongo;

/// <summary>
/// Constants describing default collection names and other MongoDB defaults for the Authority service.
/// </summary>
public static class AuthorityMongoDefaults
{
    /// <summary>
    /// Default database name used when none is provided via configuration.
    /// </summary>
    public const string DefaultDatabaseName = "stellaops_authority";

    /// <summary>
    /// Canonical collection names used by Authority.
    /// </summary>
    public static class Collections
    {
        public const string Users = "authority_users";
        public const string Clients = "authority_clients";
        public const string Scopes = "authority_scopes";
        public const string Tokens = "authority_tokens";
        public const string LoginAttempts = "authority_login_attempts";
        public const string Revocations = "authority_revocations";
        public const string RevocationState = "authority_revocation_state";
        public const string Invites = "authority_bootstrap_invites";
    }
}
