Files
wehub-resource-sync 5296d0e97c
CI / Ban suppressions and legacy annotations (push) Has been cancelled
CI / pytest (push) Has been cancelled
CI / ruff-check (push) Has been cancelled
CI / ruff-format (push) Has been cancelled
CI / ty (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:35:44 +08:00

10 lines
276 B
Python

"""Shared proxy-auth policy for FCC client launchers."""
PROXY_NO_AUTH_SENTINEL = "fcc-no-auth"
def proxy_auth_token(auth_token: str) -> str:
"""Return the configured proxy token or the no-auth client marker."""
return auth_token.strip() or PROXY_NO_AUTH_SENTINEL