Get OAuth proxy URL setting. 用于Google OAuth2认证的代理URL。 Environment variable: OAUTH_PROXY_URL Database config key: oauth_proxy_url Default: https://oauth2.googleapis.com
()
| 374 | |
| 375 | |
| 376 | async 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 | |
| 393 | async def get_googleapis_proxy_url() -> str: |
no test coverage detected