Download src/free_claude_code/cli/proxy_auth.py from sshinmen/shin: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/spaces/sshinmen/shin/resolve/main/src/free_claude_code/cli/proxy_auth.py
- Command line
-
hf download hf://spaces/sshinmen/shin/src/free_claude_code/cli/proxy_auth.py
-
curl -L -o proxy_auth.py https://huggingface.co/spaces/sshinmen/shin/resolve/main/src/free_claude_code/cli/proxy_auth.py
276 Bytes
| """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 | |