MCPcopy Create free account
hub / github.com/block/buzz / AuthConfig

Class AuthConfig

crates/buzz-auth/src/lib.rs:90–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88/// Top-level authentication configuration, typically loaded from the relay's TOML config file.
89#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
90pub struct AuthConfig {
91 /// Per-user and per-IP rate limit thresholds.
92 #[serde(default)]
93 pub rate_limits: RateLimitConfig,
94}
95
96/// Simplified auth service — NIP-42 and NIP-98 only.
97/// No JWT validation, no token management, no IdP runtime dependency.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected