mirror of
https://github.com/ossrs/srs.git
synced 2026-10-24 09:59:20 +03:00
Fix #4690 - Require `SRS_HTTP_API_AUTH_TYPE` when SRS HTTP API authentication is enabled. - Add Bearer token authentication for the SRS HTTP API while preserving Basic authentication. - Add Bearer authentication for proxy origin registration with `PROXY_HTTP_API_AUTH_*`. - Allow SRS heartbeat requests to authenticate to the proxy with `SRS_HEARTBEAT_AUTH_*`. - Add unit tests, an end-to-end Bearer authentication test, documentation, and separate Basic/Bearer sample configurations. --------- Co-authored-by: chatgpt-codex-connector[bot] <199175422+chatgpt-codex-connector[bot]@users.noreply.github.com>