MCPcopy Index your code
hub / github.com/su-kaka/gcli2api / get_oauth_proxy_url

Function get_oauth_proxy_url

config.py:376–390  ·  view source on GitHub ↗

Get OAuth proxy URL setting. 用于Google OAuth2认证的代理URL。 Environment variable: OAUTH_PROXY_URL Database config key: oauth_proxy_url Default: https://oauth2.googleapis.com

()

Source from the content-addressed store, hash-verified

374
375
376async def get_oauth_proxy_url() -> str:
377 """
378 Get OAuth proxy URL setting.
379
380 用于Google OAuth2认证的代理URL。
381
382 Environment variable: OAUTH_PROXY_URL
383 Database config key: oauth_proxy_url
384 Default: https://oauth2.googleapis.com
385 """
386 return str(
387 await get_config_value(
388 "oauth_proxy_url", "https://oauth2.googleapis.com", "OAUTH_PROXY_URL"
389 )
390 )
391
392
393async def get_googleapis_proxy_url() -> str:

Callers 4

refreshMethod · 0.90
exchange_codeMethod · 0.90
get_access_tokenMethod · 0.90
validate_tokenFunction · 0.90

Calls 1

get_config_valueFunction · 0.85

Tested by

no test coverage detected