Skip to main content

Module auth

Module auth 

Source
Expand description

Authentication rate limiting for pwr-server.

Tracks failed authentication attempts per IP address and rejects connections that exceed the configured threshold within a time window. Uses a simple in-memory map with periodic cleanup.

Structsยง

RateLimiter
Tracks authentication attempts per source IP address.